XP + localhost

  • Thread starter Thread starter dan
  • Start date Start date
D

dan

Hi there,

we have an application running on an XP computer (with
the SP1). This application consists of the Server and the
Client. They are connected with RMI using "localhost-
127.0.0.1". The problem is that if the ethernet cable is
unplugged, the connection between the Server and the
Client will be lost. If the cable is re-plugged back and
then the connection will be re-established.

Checked the C:\Windows\system32\driver\etc\localhost file
and it has "localhost 127.0.0.1" entry.

My question is that since the connection is
with "localhost", why does XP need to go outside to get
the address?

I checked the NT and it does NOT have this problem.

Any idea?

Thanks,
 
In case somebody else has the same issue, I found the
solution by myself. The solution is to install the second
network called "loopback adapter". The procedure is as
following:
Go to add New Hardware and choose Network adapter.
In the Manufactures box, choose Microsoft;
In the Network Adapter box, choose Microsoft Loopback
Adapter.
 
Back
Top