0

我正在用 C#.NET 编写代理服务器。我的代理服务器已托管在 VM 上(例如vm1)。现在,当我在vm1中通过 IE 访问互联网时,请求按预期通过代理服务器。但是,如果我使用另一个 VM 说 vm2 通过 IE 访问 Internet,则会显示“Internet Explorer 无法显示网页”。我检查了 IE 的代理设置。它看起来是正确的。我认为该请求根本没有到达 vm1。否则,代理服务器将记录谁请求。

需要帮助的家伙。

-数据

4

1 回答 1

0

这是我的“路线打印”输出。这是在虚拟机上。

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0c 29 f9 86 a5 ...... AMD PCNET Family PCI Ethernet Adapter - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.0.1   192.168.0.104   10
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1   1
      192.168.0.0    255.255.255.0    192.168.0.104   192.168.0.104   10
    192.168.0.104  255.255.255.255        127.0.0.1       127.0.0.1   10
    192.168.0.255  255.255.255.255    192.168.0.104   192.168.0.104   10
        224.0.0.0        240.0.0.0    192.168.0.104   192.168.0.104   10
  255.255.255.255  255.255.255.255    192.168.0.104   192.168.0.104   1
Default Gateway:       192.168.0.1
===========================================================================
Persistent Routes:
  None

而且,这是我的 ipconfig 输出

Windows IP Configuration


Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : 
        IP Address. . . . . . . . . . . . : 192.168.0.104
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.1

我的代理服务器托管在 IP 为 192.168.0.102 的机器上。

帮助将不胜感激。

-达特

于 2009-10-25T18:18:14.127 回答