Match the rail branch to the campus
Stony Brook's directions place the main-campus station at the north end of campus on the LIRR Port Jefferson Branch. The same guide describes Southampton using a different branch and a separate station-to-campus journey.