The earthquake, centered off the coast of Portsmouth, was felt hundreds of miles away from the epicenter.