Get the new iPhone 15, iPhone 15 Plus, iPhone 15 Pro & iPhone 15 Pro Max from AT&T Now!
Need help with your equipment?
cristopheridlc's profile

New Member

 • 

2 Messages

Monday, May 15th, 2023 11:02 AM

Self hosted Minecraft server connection sometimes work, sometimes times out

Hello, I'm having an issue with running a Minecraft server on my personal computer. I'm using Fedora Workstation 38 as my Linux distro.

Here's what I've done so far:

  1. Opened port 25565 on my firewall by running this command
    sudo firewall-cmd --zone=public --add-port=25565/tcp --permanent​
  2. Enabled port forwarding on port 25565:

Friends have been able to connect to my server with some struggle. Sometimes they are able to join with no issues, but most times their connection gets timed out and/or they get an unknown host error while trying to join the server. I've tried joining the server myself by using my public IP, and it works sometimes, but most times it doesn't. I'm always able to connect by using localhost as the server address.

How can I fix this and make it so that everyone can always join without any issues?

Accepted Solution

Official Solution

ACE - Expert

 • 

33.2K Messages

5 months ago

I've tried joining the server myself by using my public IP, and it works sometimes, but most times it doesn't. I'm always able to connect by using localhost as the server address.

This is expected behavior.  The Gateway doesn't support NAT loopback, it sometimes seems to work, but is very slow, acts oddly and should not be relied upon, so do not try to use the public IP while in your local network.  Thus, this is not something you can do to compare with your actual outside users.

I can't guide you in terms of how to test a minecraft server issue.

New Member

 • 

2 Messages

4 months ago

Thanks for your answer @JefferMC . I've noticed that the connection is very stable after the server runs for a while. I haven't had issues so far with anyone connecting to my server.

Not finding what you're looking for?