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 New Orleans from the ocean
How far is West Yellowstone from the ocean
How far is Washington, DC from the ocean
How far is Huntington Beach from the ocean
How far is Lancaster, PA from the ocean
How far is Shreveport from the ocean
How far is Coral Gables from the ocean
How far is Panama City Beach from the ocean
How far is Fort Worth from the ocean
How far is Sligo from the ocean