Right now when starting a node, it picks a port at random and tries to bind the server to it. If the port is occupied, an exception is thrown and it all ends there.
The node should try to find an open port, and ensure that it can start the server bound to it (as much as possible).
Right now when starting a node, it picks a port at random and tries to bind the server to it. If the port is occupied, an exception is thrown and it all ends there.
The node should try to find an open port, and ensure that it can start the server bound to it (as much as possible).