Occasionally, the character "_" is used in hostnames, which is illegal, according to http://www.ietf.org/rfc/rfc952.txt. The java.net.URI parser gets confused, and the detectable phenomenon is the replacement of the port with -1.
When 0.0.0.0 is given as the bind address, org.jboss.remoting.ServerInvoker calls org.jboss.Remoting.InvokerLocator.validateLocator() to create an InvokerLocator with a host accessible over a network. By default, the host name is used, which leads to the problem described above.
If the system property InvokerLocator.BIND_BY_HOST (actual value "remoting.bind_by_host"), the host address will be used instead, which would work around the problem.