This forum has been archived. Please find the new support board at https://support.cubecoders.com/

Save my brain, can't connect to server unless using local host

  • 152 Views
  • Last Post 15 May 2017
drsassy posted this 03 May 2017

Hey everyone :) I mean :( haha

I've been trying to connect to my server with my myip:25566. I changed the port to 25566 since port 8080 would not bind for some reason. Localhost works but not an ip. What am I missing? Muh brain hurt.

6 Comments
Order By: Standard | Newest | Votes
Mopar posted this 08 May 2017 - Last edited 08 May 2017

You might have already answered your own question, but if not, one or 2 things are the cause of this issue.

1st of all, if you are using just a modem or a modem and router combo, you will need to make sure port forwarding is set up properly so incoming connections are passed to the correct PC.

2nd of all, if you are using a separate router with your modem, then to make life a bit easier, you might need to set your modem to DMZ and have it pass all inet traffic to your router, and the port forwarding can be done by it (the router).

Some examples:

Only have a modem or modem/router combo: In this case you will need to set up port forwarding in the modem/router to forward the traffic to that specific pc. Lets say the PC that is running the MC server has an ip address of 192.168.0.5. In your router you will want to setup port forwarding the external ip address (incoming connections) are set to 0.0.0.0 (allow all ip addresses) and a port range of 25566 to 25566 (meaning just that port) and that the local ip address is set to 192.168.0.5 and the port is set to 25566 to 25566.

Using a modem and a separate router: In this case, the simplest/easiest setup is to put the modem into DMZ mode and forward all the inet traffic to the router. Basicly, the router itself would have gotten an IP address from the modem. Use that IP address and put it in the modems DMZ listing and make sure DMZ is enabled. After that, setup port forwarding in the router like what was explained above.

As far as how to do all of that, you will need to refer to the owners manual for your equipment on how to log into them and where to find the needed sections to do port forwarding (and if needed, DMZ).

Mike posted this 08 May 2017

Is the IP binding set to 0.0.0.0? If it's set to 127.0.0.1 then you wouldn't be able to connect by IP or remotely.

As a side note, Skype likes to sit on port 8080

drsassy posted this 08 May 2017

Well the weird part is that I can use any port (except 8080) when using Bukkit GUI.

Mike posted this 09 May 2017

Which again would suggest that something is sitting on port 8080 already. You can check what by running netstat -abn as administrator.

Mopar posted this 10 May 2017

Also, the webui for both amp and McMyAdmin2 tend to default to port 8080, so that will prevent the game server from working on that port, at least thats the port it defaults for me.

Kilroy5150 posted this 15 May 2017

Hey everyone :) I mean :( haha

I've been trying to connect to my server with my myip:25566. I changed the> port to 25566 since port 8080 would not bind for some reason. Localhost works but not an ip. What am I missing? Muh brain hurt.

Did you reserve the port with the router's forwarding abilities? Also, make sure the built-in windows firewall isn't blocking it from getting out. I'm assuming you have a static IP address that never changes? I had those issues when i started running my Minecraft server and wanted to hit it from the outside..