IE 未检测到虚拟机上托管的代理服务器

发布于 2024-08-08 23:49:29 字数 271 浏览 5 评论 0原文

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

需要帮助。

-达特

I was writing a proxy server in C#.NET. My Proxy server has been hosted on a VM (say vm1). Now when I access internet through IE in vm1 the request goes through the proxy server as expected. But if I use another VM say vm2 to access internet through IE the 'Internet Explorer cannot display the webpage' is displayed. I checked the proxy settings for IE. It looks correct. The request is not reaching the vm1 at all I think. Otherwise, the proxy server would have logged who requested.

Need help guys.

-datte

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妄司 2024-08-15 23:49:29

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

===========================================================================
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 的计算机上。

帮助将不胜感激。

-达特

This is my 'route print' output. This is on a VM.

===========================================================================
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

And, this is my ipconfig output

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

My proxy server is hosted in a machine with IP 192.168.0.102.

Help would be greatly appreciated.

-Datte

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文