#Need help w/ running a server on my PC
1 messages · Page 1 of 1 (latest)
I've downloaded and ran the medieval server shell script and it works
However, when I type in my public IP to the Minecraft client (Medieval MC from GDLauncher) it just won't work
I get a Server timed out error
The thing is, it's not just my friend who can't join the server. I can't connect to the server running on my own PC
I've enabled port forwarding on my router's admin panel, like so:
That doesn't work either, let me send the error message
Plus, if I connect to my own server over localhost, how is my friend going to connect?
with your IPV4
you can not connect to your own server using your IP
you need to use localhost to join your own server
google this error for solutions
you did something incorrectly
https://support.axway.com/kb/177125/language/en this might help
I typed in my IPV4 address and could enter the server, thank you so much for that
However my friend can't connect
The IP address I censored there is the same as the one I used to join the server
So I think requests to port 25565 should redirect to my local IP right?
This is the error he gets:
probably
so why doesn't it work?

if you can see attempts in the logs
of your friend connecting
that means its an issue on his end likely
Let me check
btw
the ip address part there
needs your local pc ip
not your public ipv4
idk what u put there
but just as an fyi
I don't see his username or his ip
likely a port forward issue then
Yeah I've put this ip from gnome settings
I knew it
Could be because my router firmware is problematic
ive no idea if gnome shows a local ip or a public ip
maybe
that sounds entirely possible
Definitely local
ah okay
thats strange then, logically the ports should be opened
do you have a firewall setting blocking 25565?
sudo ufw status returns Status: inactive
hmm so no firewall either
im assuming hosts are all set normally too
in /etc/hosts
like you have localhost and stuff in there
127.0.0.1 localhost
::1 localhost
127.0.1.1 pop-os.localdomain pop-os
That's all i have in /etc/hosts
looks good

how strange
are you confident you gave your friend your public ip?
double check with whatsmyip
Yeah I copied and pasted what https://icanhazip.com shows
But he gets a "Connection timed out: no further information" error
since no connection attempts are seen in logs, the connection isnt making it to your pc
can you connect if you use that same public ip
from your own machine
Let me try again
I get this
huh
so it must be a port forwarding issue then
if even you cant connect
kinda hard to know what exactly is the issue here tbh
could be the router has some extra setting it needs
Do you think it has anything to do with Port Trigger?
shouldnt
port triggering is meant to “port forward” to multiple pcs
its minorly different and isn’t necessary for mc
tho i think it could probably be used
$ netstat -an | grep 25565
tcp6 0 0 :::25565 :::* LISTEN
Is this output normal?
Not in that command's output
In other entries the Local Address column is in the format of [My local IPV4]:[some port]
For 25565, it's just :::25565
thats weird
tcp LISTEN 0 4096 *:25565 *:*
ok i cant be bothered to format
but for me
it shows up as this
how did you install the server?
Downloaded this file: https://www.curseforge.com/minecraft/modpacks/medieval-mc-forge/files/4364835
Ran sudo apt install openjdk-18-jdk
Then ran ./start.sh
did you change the server.properties by any chance?
Line 48 says server-port=25565 which I think is what matters
iirc you dont need to manually set it
but it shouldn't cause issues by being manually set
hmm
i dont know much about networking but it seems something isnt working correctly between your local machine and your router
$ ss -an | grep 25565
tcp LISTEN 0 4096 *:25565 *:*
When I run it with ss instead of netstat I get the same result
Neither do I sadly
nevermind what i said then, i have even less idea what’s happening here
do you have another machine at home?
maybe you can try porting it on there
see if its a your pc issue
or router issue
I have a raspberry pi 3b but I'm not sure if it can run it
probably not
I also have a somewhat oldish windows pc
sounds like it would explode if you tried
maybe try a vanilla server
just for testing
The same thing happens, I can join my own server through the local ip but the public ip will throw this error: