Capri is very close to the ocean. It's basically about 9771 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 Termini.
How far is Kennebunkport, ME from the ocean
How far is Coeur d'Alene from the ocean
How far is Mt Rushmore from the ocean
How far is West Palm Beach from the ocean
How far is Virginia Beach from the ocean
How far is Winston Salem from the ocean
How far is Glenwood Springs from the ocean
How far is Redding from the ocean
How far is Huntington Beach from the ocean
How far is Bagan from the ocean