Tutorial: Fixing Minecraft: Java Edition LAN issues(Windows 10) : r/Minecraft Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores
r/Minecraft icon
r/Minecraft icon
Go to Minecraft
r/Minecraft
A banner for the subreddit

Minecraft community on reddit


Members Online

Tutorial: Fixing Minecraft: Java Edition LAN issues(Windows 10)

Tutorial

I was just debugging an issue with the "Open to LAN" feature and thought some people might benefit from it since I did not find any guides that addressed this issue specifically, although they pointed me in the right direction.

This guide assumes that this is a firewall issue, so if it is not this guide wont help you with your problem.

Step one - How do I know this is a firewall issue
On both your computers turn off the fire wall. Turn on the game on in both computers, setup a LAN game and make sure that the LAN game is visible to the other computer(if the LAN game is still not visible, this is not a firewall issue).
Turn the firewall back on!

How to turn windows firewall on and off

Step two - Allow Minecraft to pass through the firewall

  • Open the firewall by typing windows defender firewall in start.

  • Click on the Allow an app or feature through Windows Defender Firewall. This should give you a list of apps and features.

  • Click the Change settings button to be able to add another app to the list.

  • Click the Allow another app... button.

  • In the new window click the Brows button.

  • Navigate to your Minecraft installation folder. By default it should be C:\Program Files(x86)\Minecraft Launcher.

  • Inside the Minecraft installation folder should be another folder called runtime. Navigate into it.

  • Inside the runtime folder you should see multiple folders(if you just reinstalled there should only be one).

  • Check the Date modified of each of those folders. Navigate into the folder with the date closest to today.

  • Find a folder called bin. Click <the-folder-with-the-closest-date>\windows-x64\java-runtime-alpha\bin.

  • Inside bin you should find a file exe called javaw.exe(or javaw if you don't show file extensions).

  • Select that file and press the Open button and then press the Add button.

If there is no error you are done. Make sure to do this on both computers so both can create LAN servers.

If there is an error do the following steps.

  1. The error should say something like: 'OpenJDK Platform binary' is already in the list of exceptions(if the name is different from OpenJDK Platform binary then use that name. Should be something that contains the word java).

  2. Find OpenJDK Platform binary in the list of apps and delete it. This item should be pointing to a runtime that is not being used, hence the LAN not working. You can also use the details button to see where the item is pointing if you are nervous it does not belong to Minecraft.

  3. Once you have deleted the item retry step one.

Now you should be good to go.

Archived post. New comments cannot be posted and votes cannot be cast.
Share
Sort by:
Best
Open comment sort options

I've been having issues with hosting a lan.

I Checked to see if it was an issue with the firewall and it was, so i followed the rest of the steps. Unfortunately it didn't work.

Are there any other firewall related methods or things that i might be missing?

There is always a chance that the port that the Minecraft server is running on is not open.
Find the port that the server is running on and check to see if that port is open in the fire wall.

There are loads of tutorials on youtube about opening ports so it shouldn't be that much of a problem.

Edited

I'll check it out

Edit: found the solution!

Under the properties for the wifi it was set to public instead of private. Changing that worked

More replies
More replies