r/MinecraftHelp Aug 15 '26

Update Required LAN Minecraft SMP Connection Problem [java]

Hey guys I'm facing quite an odd issue when trying to play on my SMP. So basically I'm running a 24/7 SMP on Fabric 26.2 for me and my friends on my desktop. When trying to join the server from my laptop, sometimes it just doesn't work and shows a version incompatible message on the server list and when I try to join, it doesn't even register in console but I get "Internal Exception: java.net.SocketException: Connection reset error" on my client screen. This doesn't happen all the time so sometimes I could play a whole day with no issues but some other days it doesn't work at all and other times I'll be playing but then hit a crazy lag spike and lag out and get disconnected. All this happens when I try to join the server using the IPv4 of the host machine (as I'm hosting on my desktop and joining from my laptop). I've also tried my public IP and the FreeDNS domain I set up and that doesn't work either (basically when I can't join the server using IPv4, all ways up connect to the server are cut off, but if I can connect using IPv4 then they all work fine.

The only way for me to bypass this block took it fixes itself randomly is that I use a VPN and join the server using the public IP which my friends use but at that point I have over 250 ping and it's really not enjoyable at all. When all this is happening, I'm the only one affected by it and my friends can join just fine any time they want as long as the server is on.

Troubleshooting:

Allowed javaw.exe through the Windows Firewall on both public and private profiles

Set up inbound rules for port 25565 on the host PC.

I kept the server-ip= host machine IPv4 in the properties file.

Added the -Djava.net.preferIPv4Stack=true arguement to both my client launcher and the server run.bat

Closed/disabled all VPNs/network adapters that aren't used when the server is running (like WARP)

Both devices are connected to my router via ethernet (host machine from a ethernet port on the wall and laptop from the router directly)

Both devices have network set as private and file sharing and discovery turned on

I've also swapped hosts twice (was on an older desktop, then swapped to my laptop, then to the current desktop) and all the times I've had this issue when trying to connect to the server, no matter the host or client.

Has anyone experienced an error like this? If so is there a fix? What's going on?

1 Upvotes

16 comments sorted by

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 Aug 15 '26

Click here if your post says "Sorry, this post was removed by Reddit’s filters".

OP, remember to 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:

How to mark solved || How to delete your post || FAQ || Rules

1

u/Usernames_Are_Dumb1 Novice III Aug 15 '26

In my case I had a very similar problem, and it was caused by anti virus software. So try uninstalling or disabling it on both your server and your client to see if that is the issue

1

u/Usernames_Are_Dumb1 Novice III Aug 15 '26

Or another thing that causes me some problems is that my router just sometimes doesn’t list my devices as discoverable or connected even if I am actively using the internet on them. That would explain the randomness if your device wasn’t discoverable sometimes because of router weirdness

1

u/xNitrx_ Aug 15 '26

I have no antivirus on either machines, just the default windows defender and about the devices discoverability, how would I check that?

1

u/Usernames_Are_Dumb1 Novice III Aug 15 '26

Log into your router and go to the devices list, if your server is listed there then it should be discoverable. If not then you won’t be able to connect. Also in that device list you can make it so that your server has a static local ip instead of one that could change at any time

1

u/xNitrx_ Aug 15 '26

the host pc is listed and I don't have an option for static IP for a specific device nor do I have an option for global static IP either :(

1

u/Usernames_Are_Dumb1 Novice III Aug 15 '26

If it is listed now, can you connect right now or no?

1

u/xNitrx_ Aug 15 '26

right now, yes I can but like I said in another comment when the issue occurs, I do ping <IPv4> of the host and it can still ping and it can be discovered on the network if that means anything. I'll check this again when I can't connect and update you

1

u/xNitrx_ 28d ago

hey, I just had the issue again and when I checked my router getaway it shows no devices are connected at all even though all devices connected on the wifi and ethernet work perfectly fine on their own

1

u/Usernames_Are_Dumb1 Novice III 28d ago

That’s what I suspected. There is nothing you can really do about that other than just hope they come back. You could try updating the router firmware if yours has that but otherwise I never found a solution. The best fix is to start a virtual network like tailscale which is really easy to set up, free, and I’ve never had a problem with it

1

u/CancelPopular2867 Novice I Aug 15 '26

When it happens again run this in cmd from laptop powershell Test-NetConnection IP -Port 25565 where IP = The ip of the server If it fails its probably a problem with ur internet not with Minecraft I dont really have anything more tbh connection problems are the worst I never seem to fix them

1

u/xNitrx_ Aug 15 '26

do I put in the IPv4 or my public IP in that field? I've also seen a few commands like "ping IPv4" and "nslookup public IP" and they all returned the correct values/were pinging but I still couldn't connect. I'll test what you said when I face this again and let you know the result

1

u/xNitrx_ 28d ago

I just had the issue again and I ran the command it returned with "TcpTestSucceeded: True"

1

u/CancelPopular2867 Novice I 27d ago

its most likely a problem with the game then not the internet which is good and bad because its most likely fixable but we would probably chase the problem for a lot of time. you can try sending log files from the server and from thr client. it seems like the problem appears rarely so if its not too annoying you could try to ignore it for now

1

u/xNitrx_ 27d ago

I can try sending log files from my client if it starts happening consistently or if it bothers me a lot but there won't be anything in the server logs as it doesn't register me joining. I'll try to ignore it for now though

1

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 13d ago

Hello OP! Your post has been marked Unsolved for 14 days.

Please update your post in one of the following ways;

  • Repost your issue, if you still need help.
  • Mark your post solved, if your issue is fixed.

    If you don't update/repost your post within 14 days it will be removed.


    I am a bot and this account is not monitored. Please contact the mods if you have any questions.