Easiest way to get from the port of la spezia to the cinque terre
I believe the best way to find this information out is to "google": How to get from the Port of La Spezia to the Cinque Terre.
Google Maps gives a very detailed view of the city and even reflects local bus lines. You may be able to walk or might also choose a taxi to the La Spezia Centrale train station. Regional trains run every half hour to all five towns with no need or benefit to buying tickets ahead.
You don't really need a schedule here but can find them for most of Europe at Looking Up Train Schedules and Routes Online or for just Italy at www.trenitalia.com.
Taxi from the port to La Spezia Centrale then regional train to
Riomaggori. Under 15 min.
Train also connect the other 4 villages.