For a long time now I have hosted many servers with my friends via Hamachi. Recently my pc had to be wiped and I had reinstalled everything by this point in time but one thing seems to fail me in a awkward way. When ever I turn on a Hamachi server it tells me the following
"failed to bind to port!
The exception was: java.net.BindException : Cannot assign requested address: bind
Perhaps a server was already running on that port?"
But the thing is, I am using the default port, my Hamachi IPv4 and have allowed ports through my firewall. for some reason though port 25565 does not want to turn on or connect and I have no way of enabling it.
If someone knows anyway to help me out I would very much appreciate it!
Thank you for responding TNAHosting but this did not fix my problems sadly. The server loads but I can not connect to the server itself. I believe my problem has something to do with Hamachi not being able to connect to port 25565 or able to get passed my firewall despite me making a rule for it to go in and out. I have also tried allowing port 443 through my firewall, according to logmein this needs to be enabled in order for Hamachi to work. However despite doing all of that I went onto canyouseeme.org and checked the port and it said 25565 could not be connected because it has timed out. I then changed the IP address to my Hamachi one to see if that would work but with same result. Again I never had this problem in the past and I do not know why it is doing this to me now, I have tried uninstalling and reinstalling Hamachi but with no result. Does anyone know anyway to fix this?
Hello!
For a long time now I have hosted many servers with my friends via Hamachi. Recently my pc had to be wiped and I had reinstalled everything by this point in time but one thing seems to fail me in a awkward way. When ever I turn on a Hamachi server it tells me the following
"failed to bind to port!
The exception was: java.net.BindException : Cannot assign requested address: bind
Perhaps a server was already running on that port?"
But the thing is, I am using the default port, my Hamachi IPv4 and have allowed ports through my firewall. for some reason though port 25565 does not want to turn on or connect and I have no way of enabling it.
If someone knows anyway to help me out I would very much appreciate it!
Try removing the server-ip from your configuration or setting it to 0.0.0.0. In most cases, it is not needed.
TNAHosting.net | WISP Panel | SFTP | MySQL | Custom Jar | Sub-Domain | Free Web Hosting
Free 1GB - 48 Hour Test Servers | NEW LOW PRICES $1/m
Need Support? Hop on our Discord!
Thank you for responding TNAHosting but this did not fix my problems sadly. The server loads but I can not connect to the server itself. I believe my problem has something to do with Hamachi not being able to connect to port 25565 or able to get passed my firewall despite me making a rule for it to go in and out. I have also tried allowing port 443 through my firewall, according to logmein this needs to be enabled in order for Hamachi to work. However despite doing all of that I went onto canyouseeme.org and checked the port and it said 25565 could not be connected because it has timed out. I then changed the IP address to my Hamachi one to see if that would work but with same result. Again I never had this problem in the past and I do not know why it is doing this to me now, I have tried uninstalling and reinstalling Hamachi but with no result. Does anyone know anyway to fix this?