You can book tickets inside 30 days of travel by way of the official Korail website or app, or at a train station in Korea. However, purchasing a train ticket on-line in Korea can be hard as Korean payment systems often reject cards issued outdoors of Korea. There are a number of possibilities to stay connected in Korea when you travel. The princip