3

I've done everything as it says to set up LAN play, but the connection keeps either timing out or immediately saying "Disconnected" upon successful connection. I really do not know what to do at this point, as we both have tried everything to get it working.

  • Both clients are on Java Edition version 1.12.2.
  • Both clients are playing with the Nomifactory modpack enabled. The same installation .zip file was used in Prism Launcher on both computers. This also occurs on Vanilla 1.12.2.
  • Both clients are on the same network.
  • We've triple-checked that the internal IP address and port number are correct.
  • Minecraft (all instances of the Java binary) are allowed in both firewalls.
  • If the notebook tries to connect to the computer, it gets timed out, while if the computer connects to the notebook, it connects successfully but immediately disconnects afterwards.

We're absolutely stumped as to what could be causing this. Any help would be appreciated.

4
  • Have you seen Why isn't my Minecraft LAN server working?
    – Timmy Jim
    Commented Jan 23 at 16:29
  • Are the computer and laptop both using the same login credentials or are they logging in with different Mojang/Microsoft accounts? Basically, is the same player account trying to log in twice to the same game? Without knowing details of the network setup, PC settings, etc. this will be difficult to answer. @TimmyJim's link has a lot of good info.
    – Phil DD
    Commented Jan 25 at 21:52
  • The notebook (which my friend plays on, he has no account) is playing in offline mode. I don't know if that affects LAN play though, it just doesn't let you login into servers that require an account. Commented Jan 27 at 11:56
  • Does the output log show anything out of the ordinary, if you enable it from the launcher?
    – mordi2k
    Commented Jan 28 at 4:45

1 Answer 1

1

The problem is the world host having unstable network. If the network is unstable for the world host (world owner/creator), The LAN world will be unplayable to others on that network. You will have to restart the router that provides the network (I recommend unplugging it for 15 seconds before plugging it back in to an outlet).

Another solution is to disconnect the world hosts laptop/pc from the network for a few seconds (15 seconds if you feel better about it), and reconnecting it to the network.

In the case this also doesn't work, I suggest restarting both devices for convenience. By restarting both devices, it restarts the connection and reduces any possible network problems on both ends.

However if nothing works, the network is unstable and/or there is an outdated router that may need to be replaced. Outdated routers can cause networking issues such as lag, unstable connection, and slow network. A router can last 3-5 years before needing to be replaced by a newer model.

You must log in to answer this question.

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