#Need help w/ running a server on my PC

1 messages · Page 1 of 1 (latest)

marsh fjord
#

Hi, I've been trying to run a server on my PC for more than 2 hours but can't get it working

#

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

fast lark
#

you need to type in localhost

#

to join your own server

marsh fjord
#

I've enabled port forwarding on my router's admin panel, like so:

marsh fjord
#

Plus, if I connect to my own server over localhost, how is my friend going to connect?

fast lark
#

with your IPV4

#

you can not connect to your own server using your IP

#

you need to use localhost to join your own server

fast lark
#

you did something incorrectly

marsh fjord
#

However my friend can't connect

marsh fjord
#

So I think requests to port 25565 should redirect to my local IP right?

marsh fjord
marsh fjord
fast lark
marsh fjord
#

well

#

i certainly did something incorrectly, but what is it, that's the question

rocky talon
#

if you can see attempts in the logs

#

of your friend connecting

#

that means its an issue on his end likely

marsh fjord
#

Let me check

rocky talon
#

if not

#

it means its a port forwarding issue

rocky talon
#

the ip address part there

#

needs your local pc ip

#

not your public ipv4

#

idk what u put there

#

but just as an fyi

marsh fjord
rocky talon
#

likely a port forward issue then

marsh fjord
marsh fjord
#

Could be because my router firmware is problematic

rocky talon
#

ive no idea if gnome shows a local ip or a public ip

#

maybe

#

that sounds entirely possible

marsh fjord
#

Definitely local

rocky talon
#

ah okay

#

thats strange then, logically the ports should be opened

#

do you have a firewall setting blocking 25565?

marsh fjord
rocky talon
#

hmm so no firewall either

#

im assuming hosts are all set normally too

#

in /etc/hosts

#

like you have localhost and stuff in there

marsh fjord
#

That's all i have in /etc/hosts

rocky talon
#

looks good

#

how strange

#

are you confident you gave your friend your public ip?

#

double check with whatsmyip

marsh fjord
#

But he gets a "Connection timed out: no further information" error

rocky talon
#

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

marsh fjord
#

Let me try again

marsh fjord
rocky talon
#

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

marsh fjord
#

Do you think it has anything to do with Port Trigger?

rocky talon
#

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

marsh fjord
#
$ netstat -an | grep 25565
tcp6       0      0 :::25565                :::*                    LISTEN     

Is this output normal?

rocky talon
#

do you not have ipv6?

#

i mean

#

ipv4

marsh fjord
#

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

rocky talon
#

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?

marsh fjord
#

Ran sudo apt install openjdk-18-jdk

#

Then ran ./start.sh

rocky talon
#

did you change the server.properties by any chance?

marsh fjord
rocky talon
#

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

marsh fjord
rocky talon
#

oh

rocky talon
#

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

marsh fjord
#

I have a raspberry pi 3b but I'm not sure if it can run it

rocky talon
#

probably not

marsh fjord
#

I also have a somewhat oldish windows pc

rocky talon
#

sounds like it would explode if you tried

#

maybe try a vanilla server

#

just for testing

marsh fjord
#

Good idea

#

Though it's getting late here, so I'll try and post the results tomorrow

marsh fjord