mom, all the taxis, busses, two train companies, and private cars make the same trips in BOTH directions. I was offering you a discussion of travel between - Pompeii Scavi and Amalfi - that generalizes to many of the realities of transportation in this area. Sorry you felt that was useless to you.
Since you specify that your luggage will be at Porta Marina, but you have some interest in the "other" train, 3/4 mile from the Amfiteatro entrance to Pompeii Scavi, I am now adding a second previous discussion that you might be able to generalize to your actual needs.
https://community.ricksteves.com/travel-forum/italy/train-from-naples-to-pompei-and-then-to-salerno
When I am in a hotel, I usually ask them for the name of their land-services partner, for a car service. That worked well for us in Sorrento, we even got to charge the cars to our hotel bill. But their Sorrento company is of no use to you from Salerno. While the end of October is when many ferries routes (not 100%) shut down, past posts on this newsboard (Search box top center) often recommend ferries to Amalfi, because it is a major transportation hub.