Linux Server Doesn't Work Correctly.

I run a server on my small server computer at home. Its currently running on Ubuntu 22.04 LTS. The problem is the following; when I join from inside my home network everything runs smoothly, but when my friends or me disconnected from my home network tries to join, it connects, but everything in the game lags and freezes and then the client gets timed out. Specs: -CPU: G4560 (note: I have tried using a 9400f as well) - Motherboard: AsRock H110M-HDV -RAM: 32 gb 3200 MHz - Storage: Brand new 2TB hdd - Internet: Ethernet (100 mbit download and 20 mbit upload) Solutuions I've already tried: - Switching motherboard and CPU - Both Debian 12 and Ubuntu 22.04 LTS - Port Forwarding works - Hosting on my PC that is connected to the same router as the server, which worked. - Running both Vanilla, Spigot and Paper - Running it in a Docker container I'd be grateful if anyone could DM me so I could show my setup through SSH. Or any help/tips would also be appriciated <3 Ask if there is any system information/config files u need!
29 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by .rasse.#0
Discount Milk
Discount Milk2y ago
If it works inside the network but not outside the network, either the server or the client has internet problems.
Rasse
RasseOP2y ago
Its the server.
Discount Milk
Discount Milk2y ago
And with just a sample size of one person, can't guarantee one way or another.
Rasse
RasseOP2y ago
No, happens to all my friends
Discount Milk
Discount Milk2y ago
Alright, is the server on wifi or ethernet?
Rasse
RasseOP2y ago
Ethernet Its the same network as the working server with my PC
Discount Milk
Discount Milk2y ago
Have your friends do a winMTR to your server while trying to play on it.
Torrent
Torrent2y ago
https://www.yougetsignal.com/tools/open-ports/ Try this to see if your port is open correctly
Open Port Check Tool - Test Port Forwarding on Your Router
Port checker is a utility used to identify your external IP address and detect open ports on your connection. This tool is useful for finding out if your port forwarding is setup correctly or if your server applications are being blocked by a firewall.
Rasse
RasseOP2y ago
Its port forwardedf
Discount Milk
Discount Milk2y ago
Blizzard Support
Running WinMTR
How to read and analyze WinMTR data in order to track down a potential connection issue.
Rasse
RasseOP2y ago
ok ill try it
Discount Milk
Discount Milk2y ago
No, the players are seemingly able to connect. It just times them out after. Another thing, what's your view distance set to?
Rasse
RasseOP2y ago
view distance is 7 on server have tried everything on client Can you do the WinMTR if i send u ip on DM?
Discount Milk
Discount Milk2y ago
Can PM me the results of the MTR, instead of dropping the results in this channel. Do 100 pings while trying to connect/play
Rasse
RasseOP2y ago
ok
Torrent
Torrent2y ago
Ahhh ok my bad
Discount Milk
Discount Milk2y ago
Would require the people who are trying to play to do the MTR.
Rasse
RasseOP2y ago
ok but it happens to everybody who tries to join server so should me or my friend do the MTR?
Discount Milk
Discount Milk2y ago
Your friend would do it to your server, and you can do it from the server to your friend.
Rasse
RasseOP2y ago
ok
Discount Milk
Discount Milk2y ago
But from player -> server AND server -> player is optimal, but only the former is necessary
Rasse
RasseOP2y ago
Senor Leche i sent it to you But we are not friends on discord
Discount Milk
Discount Milk2y ago
Is that from one of your friends to you?
Rasse
RasseOP2y ago
Yes You can try to connect if you want. The server is on Or Im switching back to Debian 12, it was more comfortable
Discount Milk
Discount Milk2y ago
Hm. I guess your router isn't set to accept ICMP requests, the MTR didn't go through
Rasse
RasseOP2y ago
Im reinstalling Debian 12 on the server at the moment, didn't really like Ubuntu
Discount Milk
Discount Milk2y ago
Well, that shouldn't have an impact on what problems you're having now
Rasse
RasseOP2y ago
Oh ok

Did you find this page helpful?