Cape Town is very close to the ocean. It's basically about 2342 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 De Waterkant.
How far is Half Moon Bay from the ocean
How far is Tacoma from the ocean
How far is Kihei from the ocean
How far is Fort Bragg from the ocean
How far is Houston from the ocean
How far is Sun Valley from the ocean
How far is Golden, CO from the ocean
How far is Mount Shasta, CA from the ocean
How far is Sarasota from the ocean
How far is Picton from the ocean