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 Newport Beach from the ocean
How far is Marina Del Rey from the ocean
How far is Sun Valley from the ocean
How far is Virginia Beach from the ocean
How far is Trinidad, CA from the ocean
How far is Park City from the ocean
How far is Newark, NJ from the ocean
How far is Ojai from the ocean
How far is Albany, NY from the ocean
How far is Kanchanaburi from the ocean