Xi'an is about 906 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Tianjin.
How far is Tahoe City from the ocean
How far is Sedona from the ocean
How far is Madison, WI from the ocean
How far is Clearwater Beach from the ocean
How far is Newark, NJ from the ocean
How far is Miami Beach from the ocean
How far is New Braunfels from the ocean
How far is Chattanooga from the ocean
How far is Cooperstown, NY from the ocean
How far is Gold Coast from the ocean