So recently I set up a Minecraft server for me and my friend to play on, port forwarded and everything. The server worked fine. Now I wanted to make a new server - not going to use the other one anymore (deleted the old server files) . I copied the old server's server.jar file and set it up the same way, but for some reason it would not allow others to connect to it. I can connect to it with my IPV4, but the port seems to be disallowing access from outside. I am pretty sure that the port forwarding is still working fine (when I use a port checker it makes a spike in my router config graph), but port checkers say that port 25565 is closed.
I managed to solve my problem - thought I will just post my solution.
Turns out that my PC was not using a static IP - which I thought it had. Therefore my old port forward was not forwarding to the correct IPV4 IP because it has changed since then. The solution was to set a Static IP for my IPV4 in the Windows adapter settings using the current IPV4 IP, subnet mask and default gateway (found in IPconfig). I then updated my port forward to forward to the current static IP.
So recently I set up a Minecraft server for me and my friend to play on, port forwarded and everything. The server worked fine. Now I wanted to make a new server - not going to use the other one anymore (deleted the old server files) . I copied the old server's server.jar file and set it up the same way, but for some reason it would not allow others to connect to it. I can connect to it with my IPV4, but the port seems to be disallowing access from outside. I am pretty sure that the port forwarding is still working fine (when I use a port checker it makes a spike in my router config graph), but port checkers say that port 25565 is closed.
When I start the server this line shows up at the start - [18:37:28 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' .
I don't remember seeing any of this with the old server - maybe part of the problem?
Any help would be much appreciated.
ps - I ran a cracked version of Minecraft just before setting up the new server - not sure if this may be a factor.
Hi everyone
I managed to solve my problem - thought I will just post my solution.
Turns out that my PC was not using a static IP - which I thought it had. Therefore my old port forward was not forwarding to the correct IPV4 IP because it has changed since then. The solution was to set a Static IP for my IPV4 in the Windows adapter settings using the current IPV4 IP, subnet mask and default gateway (found in IPconfig). I then updated my port forward to forward to the current static IP.
Hope this helps some of you out.