1

Help with server

tomyrex78 4/23/20 6:06 pm
126
4/26/2020 5:26 pm
Hello, like 2 months ago I start a server, but recently my router restarted and from that day I can't open the server again. I have redirected ports but my friends still cannot my server. Can someone help me?

Sorry for my bad English ¯\_(ツ)_/¯
Posted by
tomyrex78
Level 1 : New Miner
1

  Have something to say?

JoinSign in

4

aixizu
04/25/2020 4:46 am
Level 1 : New Explorer
Here are some troubleshooting steps.
From what I can see; you're home hosting your server. I recommend moving to a dedicated host or privatizing your server.
Port forwarding CAN BE dangerous and IS NOT recommended!

Sorry about the formatting it got ruined whilst trying to fix spoilers

Anyways here is 2 ways to fix your issue.
Method 1 restarts the process.
Method 2 is to try repair the old process.:

Method 1

If you are using Windows open command prompt and type "ipconfig /all"

Look for "IPv4 Address". This will be needed for reattaching ports to your PC.

For example; Mine is 192.168.1.106



Go to your router's IP which should be

192.168.254

Paste that into your browser URL and you should be able visit your control panel

if you have trouble with that then scroll to the bottom of this post.



Find your port forwarding section

Select your PC that the server is being hosted on

Example:

MAKE SURE TCP/UDP IS SELECTED



Configure your "server.properties" so that the server port is within the open ports like so

Start your server and you're on the internet!



Method 2

Try starting your server with the following code

@echo off
java -Xms512M -Xmx1024M -XX:MaxPermSize=128M -jar server.jar
pause

If your server cannot bind to a port correctly an error will display like shown




This means that a server is already running and needs to shutdown
If you server successfully starts up and you are able to join it via the server's local IP then you may continue.

Head to the Port forwarding part of method 1 to make sure that your device is using the correct port.




Having trouble locating your router's IP?
For windows users:
  1. Start your command prompt
  2. Type ipconfig
  3. Your router’s IP address is listed next to Default Gateway


For MacOS users:
  1. Launch System Preferences
  2. Go to Network > Advanced
  3. Under TCP/IP, your router’s IP address is listed next to Router
Click this link if you still have trouble

Hope this helps a bit & also be careful! Port forwarding IS dangerous!
1
tomyrex78
04/26/2020 5:26 pm
Level 1 : New Miner
Sorry but that doesn't help me :(, I think is a firewall error.
1
Knox_y
04/23/2020 6:37 pm
Level 6 : Apprentice Explorer
make sure the static ip didn't change
1
tomyrex78
04/23/2020 7:25 pm
Level 1 : New Miner
history
I change the IP but still not working when I fixed it
1

Welcome