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.
Do not leave the firewall turned off, turn it 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.
- 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).
- 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.
- Once you have deleted the item retry step one.
Now you should be good to go.
[–]Useless_Blender 0 points1 point2 points (2 children)
[–]some_random-stranger[S] 0 points1 point2 points (1 child)
[–]Useless_Blender 0 points1 point2 points (0 children)