Johannesburg is about 455 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Maputo.
How far is Salem from the ocean
How far is Mobile from the ocean
How far is Cincinnati from the ocean
How far is Wisconsin Dells from the ocean
How far is Girdwood from the ocean
How far is Capitola from the ocean
How far is Breckenridge from the ocean
How far is Greenville, SC from the ocean
How far is Clearwater Beach from the ocean
How far is Essaouira from the ocean