This content has been marked as final. Show 1 reply
It is a mistake to be defaulting the jboss.bind.address to the unpredictable semantics any address of 0.0.0.0 in the Main startup:
props.setProperty(ServerConfig.SERVER_BIND_ADDRESS, "0.0.0.0"); System.setProperty(ServerConfig.SERVER_BIND_ADDRESS, "0.0.0.0");
We just have to turnaround and detect this in various places and revert it to some other default value like the server hostname or java.rmi.server.host, etc. The mapping done in org.jboss.system.server.ServerConfigUtil already deals with a null value as equivalent to "0.0.0.0", so removal of the hard-coded "0.0.0.0" should be reaonable. The only question is whether the system.server package is the correct place for this utility class.