boat train
A train that connects a port with a city, timed to meet a ship's arrival or departure. The term is somewhat dated; modern usage may prefer descriptive phrases.
In the past, a boat train ran from Yokohama Port to Tokyo.
Compound of 臨港 (rinkō, 'facing the port') and 列車 (ressha, 'train'). The exact historical derivation is uncertain, but the term likely arose in the early 20th century with the growth of international shipping.