Corniglia is very close to the ocean. It's basically about 2724 meters from the ocean depending on where you measure to the exact coastline.
If you're driving to a town near the beach or coastline, you could try Cinque Terre.
How far is Franklin, TN from the ocean
How far is Syracuse, NY from the ocean
How far is Albany, NY from the ocean
How far is Avalon from the ocean
How far is Toledo, OH from the ocean
How far is Winter Park from the ocean
How far is Culver City from the ocean
How far is Branson from the ocean
How far is Columbus from the ocean
How far is La Paz from the ocean