A common nautical phrase signifying along the coast, or a course which is in sight of the shore, and nearly parallel to it. (See 'longshore.)
·adv Along the shore or coast. ...
Webster's Dictionary of the English Language