1

I have a two person map that I want to play with a friend and want to know if I can play the map using "open to LAN", but without being on the same network?

I don't want to hassle with the server setup and all, so is there a simple way to play the world across LAN but on different Wifi networks?

marked as duplicate by MrLemon, Studoku, Ben, galacticninja, Y U NO WORK Nov 18 '15 at 7:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • We are not on the same wifi network. – cubelords Nov 12 '15 at 1:29
  • The definition of LAN is local area network. Emphasis on local. If you're not on the same WiFi network, its not LAN. – Frank Nov 12 '15 at 1:41
  • @Frank actually, "Open to LAN" is a mode in which the game can be played (regardless of what LAN stands for). It's possible to trick MineCraft, or any LAN game for that matter, into thinking it's connecting to other LAN computers through some advanced network configuration, including VPNs. In other words, the computers don't have to local to play on a LAN. – JSideris Nov 12 '15 at 2:04
  • @Bizorke LAN is exactly that. Using methods to extend it into areas not LAN are possible, as far as the game and computer think, but they're still not actually on the same LAN. – Frank Nov 12 '15 at 2:09
  • 1
    @Frank If a computer's OS detects a peer as being on the same LAN, then how far does that peer need to physically be before you would say it's not really a part of the LAN anymore? – JSideris Nov 12 '15 at 2:33
7

Use Hamachi. You'll be able to create a virtual LAN that everyone can connect to over the internet using a LAN name and password.

To set it up, download and install the (free) unmanaged version of Hamachi on each computer you'd like to connect. On one of the computers, create a new network in Hamachi by clicking Network -> Create a new network... and you'll be able to set up your virtual LAN.

On the other computer(s), connect to the network via Hamachi by clicking Network -> Join an Existing Network. Type in the network name and password to connect. You'll now each be able to see the other's computer name in the list of peers on the Hamachi interface.

Hamachi will also give you both a unique IP address. This is the IP address you will use to connect.

Now you're connected and Hamachi is set up (there are some optional advanced things you can do depending on how people will be connecting, but let's keep it simple).

Select one of the computers to host the game. Turn on Minecraft and create or open a map in singleplayer, and start playing. While in the game press escape. In the escape menu there is an option for Open to LAN.

Open to LAN

Click it, choose the basic settings for your LAN world, then click Start LAN World.

Minecraft will tell you that it's hosting the game on a specific port. Write that port down because your friend(s) will need it to connect to you. If the text disappears before you have a chance to write it down you can press enter to open the recent chat/console history.

enter image description here

Now you just need to get your friends to connect to you. In the main menu of Minecraft on connecting clients click Multiplayer then click Direct Connect. People need two things to connect to you: an IP address, and a port. Use the host computer's Hamachi IP address, and the host computer's Minecraft port in that order separated by a colon. So if your Hamachi IP is 25.1.123.123 and Minecraft told you it's hosting the game on port 51116, then you should have your friend(s) type in 25.1.123.123:51116 as the server address and hit join.

enter image description here

That should work... But in case you run into some trouble, here are some troubleshooting steps:

  • Make sure you can both see each other as connected in Hamachi. If you can't then it probably means something is being blocked. There are a broad number of things that can cause this (ranging from weird OS configurations to disconnected network cables) so it's outside of the scope of this question.
  • If Hamachi is giving you the green and you still can't connect, make sure everyone is typing in the correct IP address and port again, before you before wasting time on more advanced troubleshooting.
  • Hamachi bypasses your router via a VPN so if it says your connected, it's unlikely your router's configuration is blocking you from playing Minecraft. However, it is possible that your computer's firewall is blocking you (someone probably accidentally clicked block when windows asked whether or not to block Minecraft from allowing other people on the network to connect). Here is how to unblock a port using Windows Firewall.
  • 3
    Why would anyone down vote this this answer? – JSideris Nov 12 '15 at 2:17
  • 3
    I didn't downvote but maybe explain a bit how to set it up? – Robotnik Nov 12 '15 at 7:32
  • Hamachi is a service that will allow you to create a Virtual Private Network, or VPN. It's like a LAN, but it can work over the internet. You must both install it in order to connect to your virtual network. lifehacker.com/5902468/… – Zac Crites Nov 12 '15 at 15:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.