[MC-462] On OS X people cant join your LAN world, if you have firewall on Created: 25/Oct/12  Updated: 02/Jul/22  Resolved: 31/Oct/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.1, Minecraft 1.4.2
Fix Version/s: None

Type: Bug
Reporter: Marek Štěpánek Assignee: Unassigned
Resolution: Works As Intended Votes: 2
Labels: LAN, OSX, firewall, multi
Environment:

OSX Mountain Lion, Java SE6


Confirmation Status: Unconfirmed

 Description   

When someone wants to join my LAN world, i must first turn off my firewall, even if minecraft is on the list of allowed applications. Window asking for permition to connect pops up, when i hit "Open to LAN", but immediately disappears so i can't click it. World appears in multiplayer menu for other players, even its not working. Tested on 2 computers with OSX. Not sure if this is problem of Minecaft or OSX.

What I expected to happen was...:
When i open my world to lan with firewall on, people on same wifi can joint without any problems.

What actually happened was...:
When people try to join my world, they freeze on Connecting screen until i don't turn off my firewall.

Steps to Reproduce:
1. Start LAN world on OSX with firewall on.
2. Try to joint with another computer
3. When other computer freeze on Connecting screen, turn off firewall on first computer.



 Comments   
Comment by FlyingTiger1601 [ 02/Jul/22 ]

The core process for minecraft is java, so if you only unblock minecraft launcher and not java it won't work.

Comment by Edgar Flores [ 31/Jul/20 ]

Mojang Clowns
5 years later this is still relevant.

Comment by Kyle Bartush [ 21/Mar/16 ]

1. Ezekiel the fact that you use "little snitch" is irrelevant in my opinion as to why minecraft doesn't work correctly when the firewall is on.

2. You shouldn't have to download a 3rd party program to turn off the firewall just to have people to play on a LAN world.

3. You shouldn't have to turn off the firewall anyway when you want to play on a LAN world, especially when the program is in the list of allowed apps.

4. The fact that someone from mojang has not stated their opinion in the past year since grum said it "works as intended" proves the fact that mojang is trying to avoid this bug.

Finally, if you haven't noticed already, I agree with the others and demand that this bug be reopened, and I don't care if it's the highest priority or the lowest priority. Mojang has solved more bugs this month than those that have been reported, so get started with solving this bug that has been present for years!
If you are going to do ANYTHING to help us, at least investigate WHY this is the cause, don't force us to persuade you to investigate; its not our job to investigate why there is a problem with YOUR game that YOU developed.

Comment by [Mod] Ezekiel (ezfe) [ 12/Mar/16 ]

CheesyCrafter this is an issue with the OS X Firewall. I use little snitch and keep the default firewall off and I have no issues. The default firewall just can't handle this setup properly because its not well programmed (which is most likely because nobody uses it).

Comment by [Mod] Ezekiel (ezfe) [ 12/Mar/16 ]

Missy5fan If you don't have your router setup to allow all connections (which shouldn't be the case) and you don't download sketchy applications from the internet, then the firewall is not going to be doing anything useful for you

Comment by Kyle Bartush [ 04/Mar/16 ]

Issue present as of 1.9. This is STILL a bug as that the firewall should allow traffic if the program is in the list of allowed apps.

Comment by Melissa Hardy [ 27/Jun/14 ]

I agree with most here saying it's a BUG and not okay to happen . I don't think it's okay to TURN OFF Firewall on HOME/NETWORK just to play Minecraft in LAN WORLD mode while wanting to play game with my Daughter . Firewall should never be turned off on PC not good to the fact you mite get hacked by some idiot when your playing this game . I just wish MINECRAFT creators would fix this not just think we are all playing safe. Oh yeah and this BUG also shows up in Minecraft 1.7.10 and 1.7.9
This person meaning me using Windows 7

Comment by [Mod] Ezekiel (ezfe) [ 17/Dec/12 ]

Grum, its a bug because Minecraft appears to be closing the firewall dialogue, which other applications don't do.

Comment by Joseph Knight [ 15/Dec/12 ]

This is frustratingly, NOT resolved and has been simply swept under the rug and I doubt it was even attempted to be replicated. It is obviously a bug and NOT working as intended. After considerable time analyzing the issue here's why:

  • Grum says, "the firewall SHOULD block this", but actually the firewall should ALLOW traffic if the minecraft.app is listed in the allowed apps list.
  • No, this is NOT an Apple issue because when you first launch Minecraft with the firewall on the little prompt asking you if you would like to allow/deny a firewall connection appears and disappears so quickly you almost miss it if not paying attention.
    I suspect Minecraft is somehow causing this prompt not to stick around long enough for us to be able to respond and add the TRUE application or sub-application to our firewall list. I don't think it's intentional window-closing code, but perhaps the movement from the launcher to the actual .jar that is throwing off the prompt. Who knows, but THIS is the issue and is where the team needs to put a little bit of investigative attention. Just a little guys, c'mon. Just take a look here and replicate this behavior that doesn't allow us to approve the app for the firewall.

My point is that there IS something that can be done about this issue that many users are experiencing and something that can be done about the lack of security that they have to endure just to play the game on LAN (turning off the firewall for the entire OS). To say that this is "working as intended" is absolutely false. The firewall should NOT block Minecraft if it is specifically allowed.

I request that you re-open this very issue and put it on a bugs list even if at low priority. Don't down-play this because you have greater issues. I hope enough people experiencing this will speak up and make you realize that you have to do something about it if you don't want to alienate those desiring to play LAN on Mac.

Comment by [Mojang] Grum (Erik Broes) [ 31/Oct/12 ]

Yes, this is working as intended, the firewall SHOULD block this. Turn it off for local network connections should solve it.

Comment by Jared Haworth [ 25/Oct/12 ]

I'm seeing the same behavior; this is a bug because EVEN with an exception for Minecraft in the list of applications allowed past the firewall, the lan connection will not work unless the firewall is completely disabled.

Comment by [Mod] Ezekiel (ezfe) [ 25/Oct/12 ]

This is working as expected. Firewall blocks this exact thing, communication. Its a WALL.

Generated at Sun Jan 12 11:51:06 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.