Recent Discussions

Modded server on Linux, friends unable to connect despite best efforts

Unanswered
Sloth bear posted this in #questions
Messages38 messages
Views0 views
Sloth bearOP
I'm trying to run an ATM9 dedicated server on a standalone Linux computer.
The server boots fine, runs fine, and I can connect to it via my lan network and my main gaming pc. However, friends trying to connect to it get an error of Connection timed out: getsockopt

I have done the following to try and fix this:
1. my linux machine's firewall is fully disabled.
2. I have properly port forwarded the linux machine. Using nmap shows that port 25565 is open (while the MC server is running, as intended).
3. I have used the correct ipv4 address, using ifconfig to find it

I am using Ubuntu 24.04.1 LTS Server

:sigh: I am happy to provide more information if asked
Ooop
Uh
I see something here
is your friend at the same physical location as you?
Sloth bearOP
no
so then conceivably also not on your same network
Sloth bearOP
correct
and your linux machine hosting the server is on a home, consumer grade network
Sloth bearOP
correct
and you found the ip address that is assigned to your linux machine's network interface by using ifconfig
Sloth bearOP
yes
well shit, I think we might actually have an easy one boys. everyone cross your fingers.
that's your network's internal IP address.
you need your external one, the one that is visible to the internet
from any computer on that same network
that'll be your external IP
then you need to set up port forwarding on your network's router to receive connections at that IP and pass them along to your linux computer's internal IP address
and that should be it
Sloth bearOP
that ip was also tested and doesnt work :sadsmol:
theoretically this linux computer should already be port forwarded, as it used to be a windows machine and that machine was port forwarded properly. would formatting its drive cause my router to lose its identity?
@Sloth bear that ip was also tested and doesnt work :sadsmol:
theoretically this linux computer should already be port forwarded, as it used to be a windows machine and that machine was port forwarded properly. would formatting its drive cause my router to lose its identity?
depends on how quirky the router is. theoretically not, but there are ways it could be. ultimately, you'd need to confirm that. assuming isn't a troubleshooting step.
put your external IP (from icanhazip) and 25565
Sloth bearOP
turning on server now to check
:lmao: yea its the ports
do linux machines have names, like how windows have DESKTOP-XXXXX
yes
hostname command in terminal
Sloth bearOP
yeah silly of me to ask ive been googling things all day
:rida_yeah: just have to have my dad do that since he doesnt let me touch the router settings
ty though, wouldnt have thought the public ip would work like that
No sweat! Yeah, port forwarding and internal/external IP stuff is a pretty common issue around here. Glad it was something actually solveable and not like, a strange mystery issue.
Loading...