They no longer traded with anyone, and sought to become self sufficient. This led to the Opium Wars, and after the war Britain made China open its ports to western ships AND they got Hong Kong.
The railroad boosted the economic status of the USA the transportation of raw materials and manufactured good to and from industries became faster and easier after the completion of the railroad