Shanghai is about 20 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Hongkou District.
How far is Harrisburg from the ocean
How far is Berkeley from the ocean
How far is New York City from the ocean
How far is Marina Del Rey from the ocean
How far is Delray Beach from the ocean
How far is Dayton from the ocean
How far is Medford from the ocean
How far is Des Moines from the ocean
How far is Springfield, MO from the ocean
How far is Auckland from the ocean