Shanghai's longest nonstop connection is Urumqi (URC), 2,033 miles, offered by Air China, China Eastern Airlines and 7 other airlines.
Its terminal is joined directly to Hongqiao railway station and the metro, forming one of the largest air-and-rail hubs in the world. You can step off a Beijing bullet train and walk to a departure gate.