开发者

Binding to Loopback Adapter in Windows 2008 Server

For testing purposes, I'm trying to run a number of client applications connecting to a server all on the same host machine.

The host machine is running Windows 2008 Server Standard 32-bit with Service Pack 2.

On my XP development machine I installed the Microsoft Loopback Adapter in order to run multiple clients connecting from separate IP addresses. My LAN network is 192.168.1.xxx and so I chose 192.168.5.xxx for the loopback adapter addresses.

On my development machine, everything works fine and I am able to see the client applications binding to the loopback adapter using TCPView.

When I try and开发者_StackOverflow run the same setup on the Windows 2008 server with the same settings, the client applications are unable to bind to the loopback adapter addresses. There is no activity in TCPView and so I believe there's possibly some configuration setting I'm missing in setting up the loopback adapter.

Can anyone help?

Thanks!

Nick.


Ok, problem solved. I was specifying that the client connect to 127.0.0.1 but when I asked it to connect to a 192.168.5.x address it worked. The server was bound to 0.0.0.0 which suggests that it should still have been bound to 127.0.0.1 anyway but it just didn't seem to work!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜