ID:2083918
 
Sorry, I'm sure you see this one a lot...

Running Ubuntu 1404.
Byond Stable.
Hub password is set correctly.

At startup for my server I get "The BYOND hub reports that port 25565 is not reachable."

These are my IPtables rules: https://pastebin.com/38hhUtRD

This is the script that runs my server: https://pastebin.com/dwyM6fzt

I'm fairly certain the port is open but I cannot be sure, I'm on Ubuntu 1404, I doubt Hetzner have a firewall blocking the IP since players can connect directly to the server.

The server's IP is 78.46.193.23

I can't ping it for some reason, maybe it's my firewall.

UFW is disabled, infact I uninstalled it as well.

I'm at a loss here, I have no idea why it won't connect. It previously connected using a different version of Baystation which leads me to believe it's something to do with that, but I have yet to find out...

Any help is appreciated!

I will draw a crude picture of the first person who solves it.


(It might be irrelevant but if I monitor connections during server startup I see direc.byond.com attempting to connect to multiple different ports and slowly disconnects and reconnects each time with a different slightly higher port. None of the ports it attempts are the port I am trying to launch the server from.)
http://i.imgur.com/IlYz289.png Why is byond trying to connect through those IPs? I specify it to use 25565. Is there another config i'm missing or does Byond need a separate port open for the hub?
That's the hub. Port 25565 is one you opened on your machine.
25565 is open, is there a separate port I need to open for the hub to work?
You know what, to make it even weirder. It's actually working right now, and I have no idea why
It's actually working right now, and I have no idea why

Welcome to the weird, wild world of software.



I've been having some trouble with 25565 as well recently. Do you run a minecraft server off that machine?

Sometimes the server doesn't release the port properly, and a reboot fixes it.
Nah I haven't touched minecraft on this server, just MySQL and Byond running