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 Beaufort from the ocean
How far is Arlington, VA from the ocean
How far is Omaha from the ocean
How far is Harrisburg from the ocean
How far is Port Angeles from the ocean
How far is Madison, WI from the ocean
How far is Muir Beach from the ocean
How far is Lahaina from the ocean
How far is Birmingham, AL from the ocean
How far is Fox Glacier from the ocean