Double connections on loopback interface

tcaztcaz Member Thomas CazabatOrganization: HagerProject: domovea home automation project
Hello,

I have got a strange behaviour when I try to connect to my server using the loopback interface.

When I use 127.0.0.1 or loopback to connect to the server, two tcp connections are created with different ports number.
TCP    127.0.0.1:4505         MachineV2:5385         ESTABLISHED
[Hager.Open.Server.ServerTester.exe]
TCP    127.0.0.1:5385         MachineV2:4505         ESTABLISHED
 [ClientTesterGUI.exe]

TCP    192.168.3.75:4505      MachineV2:5386         ESTABLISHED
[Hager.Open.Server.ServerTester.exe]
TCP    192.168.3.75:5386      MachineV2:4505         ESTABLISHED
[ClientTesterGUI.exe]


If instead of using 127.0.0.1, i use the server ip address only one tcp connection is created.
TCP    192.168.3.75:4505      MachineV2:5599         ESTABLISHED
[Hager.Open.Server.ServerTester.exe]

TCP    192.168.3.75:5599      MachineV2:4505         ESTABLISHED
[ClientTesterGUI.exe]

Is there a way two prevent the creation of the two IP connections when using loopback interface?

Best regards
Thomas

ICE Version: 3.4.2
OS Windows Vista 32 bits or Windows Seven 64 bits
Language C#
Sign In or Register to comment.