Port Forwarding not working

Local Lan works perfectly fine, this will be hosted on your client side and not on your server side.

Server does not bind. Gives an error " **** FAILED TO BIND TO PORT! **** "

Just ran a telnet too, get this error " Connecting to 155.93.###.###. . . Could not open connection to the host, on port 25565: Connect failed "

Tried with all ports currently set as open.

I have also tried with different versions of my server files, all the versions which I have as backups and which ran perfectly before, all not binding.
The failed to bind to Port Minecraft server error occurs when a server attempts to use a service port (i.e 25565) that is already in use by another server

From a basic lookup but as you mention you've tried a few ports, so this binding is happening on the PC itself so just keep in mind it hasn't got to do with the router etc.

Can you post the config file for the server side?
 
Go under DHCP Server -> Address Reservation. Choose "Add New" then bind your PC's MAC to an IP within your DHCP range.

Then make sure the IP address in your port forwarding rules is set to the one you just reserved.

Then reboot your router and check if the forwarding works.
Yeah this is a good thing to do either way bit it seems the service just isn't running on the server itself.
 

Is this the sort of process you're following for the minecraft server?

Also maybe PM me a link to your port forward rules as they are?
That setup is for a Vanilla server, but yes, similar setup, been doing it for years. I even second guested myself today and looked at the setup "how to's" again.

Will PM now.
 
Go under DHCP Server -> Address Reservation. Choose "Add New" then bind your PC's MAC to an IP within your DHCP range.

Then make sure the IP address in your port forwarding rules is set to the one you just reserved.

Then reboot your router and check if the forwarding works.
Thank you for the reply.

I have a DHCP range setup outside of my PCs on my network. So all my PCs are static outside my DHCP and only mobile devices are assigned to DHCP.

Will test this anyway since I really just want the port/s open.
 
That setup is for a Vanilla server, but yes, similar setup, been doing it for years. I even second guested myself today and looked at the setup "how to's" again.

Will PM now.
Thanks if I don't reply right away I may have fallen asleep...
 
Go under DHCP Server -> Address Reservation. Choose "Add New" then bind your PC's MAC to an IP within your DHCP range.

Then make sure the IP address in your port forwarding rules is set to the one you just reserved.

Then reboot your router and check if the forwarding works.
Tried and tested. Still failing.
Thanks if I don't reply right away I may have fallen asleep...
PM sent. Thanks for trying to help. so late.
 
Tried and tested. Still failing.

PM sent. Thanks for trying to help. so late.
Also did you update your Java to SE 16? My Minecraft server didn't work until I did that, but if you're also getting similar errors when hosting servers in other games then it's probably not related.
 
Also did you update your Java to SE 16? My Minecraft server didn't work until I did that, but if you're also getting similar errors when hosting servers in other games then it's probably not related.
Yes latest java is installed. System variables path also updated to the new path. But yes not "Minecraft" related issue.

Thank you for the reply.
I'll search around some more tomorrow.
Will try from my phone hotspot too and see if that works. If I can't find a result by the weekend I'll take the setup to a friend's house. Using CI and also Vuma but trenched. See if that works.
 
That is literally the same thing if you aren't being a pedantic ass arguing semantics:ROFL:

Angry trogg with a vendetta?
There is a difference between being a condescending patronising twat and a customer services rep. Maybe the nuance escapes you.
 
Yes latest java is installed. System variables path also updated to the new path. But yes not "Minecraft" related issue.

Thank you for the reply.
I'll search around some more tomorrow.
Will try from my phone hotspot too and see if that works. If I can't find a result by the weekend I'll take the setup to a friend's house. Using CI and also Vuma but trenched. See if that works.
May I suggest you put Minecraft to one side for a moment and open a port to another known running service?

That could be a web server or even RDP (and no, I don't suggest leaving RDP open indefinitely, merely for testing).

So, enable remote desktop connections to your computer and forward port 3389 (also turn off your firewall for this test). Then test here to see if the port is open:


I usually just test with Qbittorrent to see if the web service runs (I assign port 8081).

I have CISP at home and I tested port forwarding and it worked straight off the bat. As soon as you stop the web service the port is no longer open even if the port is forwarded.
 
May I suggest you put Minecraft to one side for a moment and open a port to another known running service?

That could be a web server or even RDP (and no, I don't suggest leaving RDP open indefinitely, merely for testing).

So, enable remote desktop connections to your computer and forward port 3389 (also turn off your firewall for this test). Then test here to see if the port is open:


I usually just test with Qbittorrent to see if the web service runs (I assign port 8081).

I have CISP at home and I tested port forwarding and it worked straight off the bat. As soon as you stop the web service the port is no longer open even if the port is forwarded.
Thank you for the reply.

I did not check RDP, easiest was testing with utorrent, changed the port in the app. Tested and it was open.
I then removed the UPnP and NAT port mapping, this then closed the port, even if I did port forward on my router.
When UPnP is enabled in uTorrent then the port shows as open.

So there is something wrong with my router port forwarding, seems it can't bind anything to a port forward.

I then searched for it, to enable UPnP on a Minecraft server, just remove the actual IP address by "server-ip".
Minecraft is working now by the startup, so ill test later to see if anyone can connect to it like this.
 
Thank you for the reply.

I did not check RDP, easiest was testing with utorrent, changed the port in the app. Tested and it was open.
I then removed the UPnP and NAT port mapping, this then closed the port, even if I did port forward on my router.
When UPnP is enabled in uTorrent then the port shows as open.

So there is something wrong with my router port forwarding, seems it can't bind anything to a port forward.

I then searched for it, to enable UPnP on a Minecraft server, just remove the actual IP address by "server-ip".
Minecraft is working now by the startup, so ill test later to see if anyone can connect to it like this.
So as mentioned the binding part from the application happens on its host, nothing to do with the router. Testing with RDP is not a bad plan then you know the router is forwarding traffic at least.
 
I use NMAP from a free GCP instance to check ports - you should get Filtered vs Closed responses when scanning for the ports
Thank you for the reply.

I did not check RDP, easiest was testing with utorrent, changed the port in the app. Tested and it was open.
I then removed the UPnP and NAT port mapping, this then closed the port, even if I did port forward on my router.
When UPnP is enabled in uTorrent then the port shows as open.

So there is something wrong with my router port forwarding, seems it can't bind anything to a port forward.

I then searched for it, to enable UPnP on a Minecraft server, just remove the actual IP address by "server-ip".
Minecraft is working now by the startup, so ill test later to see if anyone can connect to it like this.
 
Local Lan works perfectly fine, this will be hosted on your client side and not on your server side.

Server does not bind. Gives an error " **** FAILED TO BIND TO PORT! **** "

Just ran a telnet too, get this error " Connecting to 155.93.###.###. . . Could not open connection to the host, on port 25565: Connect failed "

Tried with all ports currently set as open.

I have also tried with different versions of my server files, all the versions which I have as backups and which ran perfectly before, all not binding.

A couple of things to note here.

If the minecraft server is "failing to bind to port" on the HOST/PC that means that it couldn't open the port it was configured with for "listening".

The message following the "**** FAILED TO BIND PORT!" could indicate what the issue is. This can be due to the port already being used by another process. For example, if another process is already listening on that port, you would see something like
Code:
**** FAILED TO BIND PORT!
The exception was: java.net.BindException: Address already in use
Perhaps a server is already running on that port?

Another possibility is that you have specified a "server-ip=" in the config file that is not resident on the host PC.
The message would look something like this:
Code:
[WARNING] **** FAILED TO BIND TO PORT!
[WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind
[WARNING] Perhaps a server is already running on that port?

In server.properties, server-ip must be left blank, so that it binds to the default LAN IP address of the host.

Then, on your router, you have to configure a port forwarding rule for port 25565 from the WAN to the LAN IP address and port 25565 of the host running the server.
 
A couple of things to note here.

If the minecraft server is "failing to bind to port" on the HOST/PC that means that it couldn't open the port it was configured with for "listening".

The message following the "**** FAILED TO BIND PORT!" could indicate what the issue is. This can be due to the port already being used by another process. For example, if another process is already listening on that port, you would see something like
Code:
**** FAILED TO BIND PORT!
The exception was: java.net.BindException: Address already in use
Perhaps a server is already running on that port?

Another possibility is that you have specified a "server-ip=" in the config file that is not resident on the host PC.
The message would look something like this:
Code:
[WARNING] **** FAILED TO BIND TO PORT!
[WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind
[WARNING] Perhaps a server is already running on that port?

In server.properties, server-ip must be left blank, so that it binds to the default LAN IP address of the host.

Then, on your router, you have to configure a port forwarding rule for port 25565 from the WAN to the LAN IP address and port 25565 of the host running the server.
Yes so based on the config file you sent me this seems to be the issue:

Another possibility is that you have specified a "server-ip=" in the config file that is not resident on the host PC.
The message would look something like this:

As you have defined your WAN IP here.
 
Yes so based on the config file you sent me this seems to be the issue:

Another possibility is that you have specified a "server-ip=" in the config file that is not resident on the host PC.
The message would look something like this:

As you have defined your WAN IP here.
Yeah, the WAN-IP must not be defined on the server.properties file. The forwarding will happen from the router's WAN ip to the PC's LAN IP.
 
Hi All.

I'm having an issue with port forwarding.
Keeps showing blocked for any port I open.

I'm with Vumatel aerial and CI as my ISP.
Have the stock CI router - Archer C20.
No other routers on the network, only a range extender also TP-Link.

Any port I try is blocked, the only port I can get open is when I setup remote management, but that does not help as the port is then busy....

What I tried :
Different ports.
Different LAN static IPs.
Different Local PCs linked to the open ports. (3 PCs tested in total so far)
Port forward static IP set to the router itself.
Firewall off.
Firewall on with port rules set.
Firmware update on my router.
Factory reset on Router.
Different software needing an open port.
PPPoE changed to Dynamic (internet drops of course)

and I have contacted CI Support - no help, says they don't block ports. Great...
but I don't deal with routers everyday, so inform me what else I can try. I'm sure I'm not the only one in the CI Group with an issue like this???
- after a few hours today of more trying the same things in a different order I emailed support again and asked if Vuma can maybe do a reset or something? They came back and said yes, with a Ref number but have not heard from them again and the ports still don't forward.

I am now out of (Cool)-Ideas, I can't find anything else on the internet.

Did anyone else ever experienced this before? Share your (Smart)-Ideas with me please!!!
download.jpeg

Someone say minecraft server i do love me some minecraft servers *hint hint*
 
Top
Sign up to the MyBroadband newsletter
X