The default host used when parsing Naming URLs is InetAddress.getLocalHost().
getHostName(). This is inconsistent with the new scheme of creating Endpoints
with IP addresses instead of hostnames. In particular, the Registry expects
binders to connect from the local IP address, which might be different from the
result of looking up the local hostname in the nameservice.
getHostName(). This is inconsistent with the new scheme of creating Endpoints
with IP addresses instead of hostnames. In particular, the Registry expects
binders to connect from the local IP address, which might be different from the
result of looking up the local hostname in the nameservice.
- relates to
-
JDK-4252428 java.rmi.Naming defaults port 1099 is not used.
-
- Closed
-