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 Ventura from the ocean
How far is Amarillo from the ocean
How far is Minneapolis from the ocean
How far is Pasadena from the ocean
How far is Homer from the ocean
How far is Corpus Christi from the ocean
How far is Pacific Grove from the ocean
How far is West Palm Beach from the ocean
How far is Plano from the ocean
How far is Beaune from the ocean