That should be manageable. Take the bus number 1 from the train station to Piazza Grande. From there it is a short walk to the terminal. The price of the bus ticket is 1.20 EUR. Schedules can be found here: http://www.atl.livorno.it
Credit:stackoverflow.com‘