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 Harrisburg from the ocean
How far is Fort Myers from the ocean
How far is Huntington Beach from the ocean
How far is Homer from the ocean
How far is Seward from the ocean
How far is Birmingham, AL from the ocean
How far is Las Vegas from the ocean
How far is Boulder from the ocean
How far is Yuma from the ocean
How far is Lausanne from the ocean