没有路由器的TCP连接在Windows 7中失败 [英] TCP connection without router fails in windows 7
问题描述
我有一个.Net 3.5应用程序,它可以在XP中完美运行,但不适用于Windows 7(或6.1或任何你想要的程序)。
I have an .Net 3.5 application which works perfectly in XP but not in Windows 7 (or 6.1 or whatever you wish to call it).
Windows 7拒绝进行任何TCP通信,因为它没有检测到网络。 没有路由器,只有以太网交换机。显然,尝试使用手动设置IP地址等。连接运行相同软件的XP电脑
和IP配置 - 没问题。 使用连接互联网的路由器运行Windows 7计算机,该路由器插入任何一个相同的以太网交换机 - 没问题。 是否有任何方法可以让Windows 7进行简单的TCP连接,而无需从外部源获取
的IP地址,显然只是设置IP地址,掩码等不会解决这个问题?
Windows 7 refuses to do any TCP communication because it does not detect a network. There is no router, just ethernet switches. Obviously, tried using manual set IP addresses etc. Hook up an XP computer running the same software and IP configuration - no problem. Run the Windows 7 computer with an internet connected router plugged in to any one of the same ethernet switches - no problem. Is there any way of making windows 7 do simple TCP connection without obtaining an IP address from an external source, clearly just setting IP address, mask etc. doesn't get around this?
推荐答案
网络上是否有DHCP服务器。两台机器的地址是什么? 169.254.x.x或其他?
Is there a DHCP server on the network. What address do the two machines get? 169.254.x.x or something else?
如果没有分配地址,您如何选择要连接的远程主机?或者只是同一台机器的通信?
If it is the case that there are no assigned addresses, how do you select the remote mahcine to connect to? Or is the comms to the same machine solely?
这篇关于没有路由器的TCP连接在Windows 7中失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!