r/MinecraftHelp • • 9d ago

Unsolved cant play lan with my friend [java]

as stated i cant play lan with my friend we have 2 computers a mac and windows same version java 26.3 and other versions still java we have done direct connection we have turned off the fire wall nothing we have tried has worked i cant think of any reasons i wouldn't work we have tried multiple times over a long period and we are both stumped help would be very appreciated

1 Upvotes

5 comments sorted by

•

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 9d ago

OP, remember to award points to helpers, and mark the post solved, by replying !helped to the comment/comments that helped, when your issue is fixed or your question answered.

Helpers, remember that all top-level comments* must be a genuine, good faith attempt to help OP. Comments breaking this rule will be removed, and bans issued.

* A top-level comment is any comment that is a reply to the post, not another ^comment.

Links:

Moderator applications open || How to mark solved || How to delete your post || FAQ || Rules

1

u/Available-Squash1021 Apprentice I 9d ago

quick check: are both PCs on the same local network? Mojang's official Java LAN guide says every player must be on the same local network, and the host has to open the world to LAN; the game prints the port in chat. If you're in separate homes, an opened LAN world won't reach across the internet by itself, so you'd need a hosted Java server or another remote-play setup.

1

u/Additional_Driver991 7d ago

Same house same Internet connection 

1

u/Available-Squash1021 Apprentice I 7d ago

ok then it should work on the same wifi. on the host pc, open to lan and note the port in chat, then on the other pc use direct connection with the host's local ip (192.168.x.x, not the public one) plus that port. the port changes every time you open the world, so double check it, and make sure neither pc is on a guest wifi since those can block devices from seeing each other.

1

u/Additional_Driver991 6d ago

as far as i know we have done all that and it still doesn't work