Is it wise to travel a long distance to see a guy you barely know?

I met this guy a while ago and we kept in touch by sending a random message to each other through Facebook. I met him in a bar and we talked for maybe 30 minutes before he had to head out. Anyway, randomly the other day I asked him where he was living and he told me in a city about 2 hours away by train then said I should come visit him sometime. He is really cute but I barely know him and we have had next to no contact since we met. Is it a good idea to go visit him or should I instead invite him to visit me?
Is it wise to travel a long distance to see a guy you barely know?
Post Opinion