SOUTHAMPTON, N.Y. — An earthquake in the Atlantic Ocean was felt Friday in multiple spots along the New Jersey and New York coasts, according to the USGS.

The temblor registered a preliminary magnitude of 2.7 and struck about 148 miles southeast of Mastic, N.Y. It had a depth of 4.5 miles, according to USGS.

Multiple responses to the USGS’ online “Did You Feel It?” tool suggested the shaking was felt throughout the area, including Port Jefferson Station, West Babylon and Elmira, N.Y.