绑定到 Windows 2008 Server 中的环回适配器
出于测试目的,我尝试在同一主机上运行多个连接到服务器的客户端应用程序。
主机运行的是带有 Service Pack 2 的 Windows 2008 Server Standard 32 位。
在我的 XP 开发计算机上,我安装了 Microsoft Loopback Adapter,以便运行从不同 IP 地址连接的多个客户端。我的 LAN 网络是 192.168.1.xxx,因此我选择 192.168.5.xxx 作为环回适配器地址。
在我的开发计算机上,一切正常,我可以使用 TCP视图。
当我尝试使用相同的设置在 Windows 2008 服务器上运行相同的设置时,客户端应用程序无法绑定到环回适配器地址。 TCPView 中没有任何活动,因此我相信在设置环回适配器时可能缺少一些配置设置。
有人可以帮忙吗?
谢谢!
缺口。
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 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,问题解决了。我指定客户端连接到 127.0.0.1,但当我要求它连接到 192.168.5.x 地址时,它起作用了。服务器绑定到 0.0.0.0,这表明它仍然应该绑定到 127.0.0.1,但它似乎不起作用!
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!