I cannot play LAN on Minecraft as the game I am trying to join does not appear on the list.

The other person can see my game, but is unable to join as they receive a timed out error.

If I turn the firewall off, it works fine. In the firewall, when Minecraft is set to either public or private, it does not work.

When the person I want to play with (or he wants to play with me), I cannot visibly see any LAN games on my multi-player screen. The other person can see my lan game that I try hosting, but when he clicks on it, it sits on the connecting to server screen for several minutes before a connection timed out error occurs on his computer. How can I make it so that we can play together, but I don't have to shut down the firewall?

  • 3
    So it works fine with your firewall off? It sounds like you just need to look up how to add an exception to your firewall for Minecraft.
    – SirBenet
    Commented Feb 12, 2015 at 19:55
  • 2
    possible duplicate of Why isn't my Minecraft LAN server working?
    – user973
    Commented Feb 12, 2015 at 20:04
  • 2
    This question basically boils down to "how do I add Minecraft as a firewall exception?" now. Commented Feb 13, 2015 at 4:00
  • Which is either a duplicate or a valid question that needs to be asked and answered. Commented Feb 13, 2015 at 4:05
  • 1
    @SevenSidedDie when I added that comment, the thread was still locked.
    – Cora
    Commented Feb 13, 2015 at 23:10

1 Answer 1


If it is a firewall issue, which it very much sounds like the case is, then you need to add your current running Java binary to the firewall. By default, it is the following:

C:\Program Files\Java\jre1.8.0_31\bin\javaw.exe


C:\Program Files (x86)\Java\jre1.8.0_31\bin\javaw.exe

The first pathway assumes you're on a 32-bit system, or that you're on a 64-bit system with a 64-bit install of Java. The second pathway is for 64-bit systems running 32-bit installs. Both pathways assume that you have the latest version of Java (as of this post) which is Java 1.8 update 31.

You can add this exception to the firewall by typing into the Windows Start search area "Allow Firewall" and clicking the "Allow an App through Windows Firewall" result, then clicking the "Change Settings" button at the top, clicking the "Allow Another App..." button at the bottom, and browsing for the binary in the above pathways. Click "Add", "OK" and you should be set.

  • It's worth noting that if you use a different binary through your Minecraft launcher, do the same process but to the other executable.
    – Cora
    Commented Feb 13, 2015 at 23:19
  • My firewall already has exception for javaw.exe in minecraft folder (but it does not help). Do you think it is safe to add file that you mentioned in your post. Everything with java now will go through. I am much more comfortable to add individual applications exceptions. Commented Sep 22, 2019 at 22:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .