-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.1.2, 1.1.3
-
sparc
-
solaris_2.5.1
This happens in JDK 1.1.1 and JDK 1.1.2
Works OK in JDK 1.1
======================================================================
Another user reports:
Synopsis: InetAddress.getLocalHost() returns "localhost/127.0.0.1"
Description:
This bug is found in JDK1.1.1 and JDK1.1.2 in STANDALONE apps:
InetAddress.getLocalHost() returns "localhost/127.0.0.1" although
the machine is registerd at the DNS and has a fixed IP (not modem
connected). The problem occures only under Solaris 2.4. On
2.5 all the method fine. This problem does NOT occur under JDK1.1.0
and Solaris 2.4.
antonio.rua@Swiss 1997-07-28:
Similar symptom also seen with JDK 1.1.3 on a SC2000E running Solaris 2.5.1.
When running same applet on other machines, everything works allright, the
problem appears only on the above mentionned machine...
- duplicates
-
JDK-4073539 InetAddress get local host fails on Solaris in some cases
- Resolved
- relates to
-
JDK-4065656 ServerSocket.getInetAddress() returns incorrect IP address.
- Closed