在server 2008 r2中用本地ip访问IIS7?

发布于 2024-11-03 15:57:06 字数 2081 浏览 4 评论 0原文

奇怪的是,我另外两台服务器2008 r2和Win7都没有问题。

我可以使用 localhost 或 127.0.0.1 访问 IIS7,但如果我尝试使用其网络 IP(即 ipconfig 中的 IPv4 地址)访问该服务器。它无法连接到IIS7并给出连接超时...我尝试关闭Windows防火墙,但它仍然是一样...

我想知道可能的问题是什么? IIS7 使用 WebPlatform 进行设置,位于 VMware 内部,使用 NAT 作为网络设置。

预先感谢...

=========== 编辑:路由打印和 netstat 结果

===========================================================================
Active Routes:

Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0    192.168.107.2  192.168.107.129     10
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
    192.168.107.0    255.255.255.0         On-link   192.168.107.129    266
  192.168.107.129  255.255.255.255         On-link   192.168.107.129    266
  192.168.107.255  255.255.255.255         On-link   192.168.107.129    266
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link   192.168.107.129    266
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link   192.168.107.129    266
===========================================================================
Persistent Routes:
  None

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  1    306 ::1/128                  On-link
 11    266 fe80::/64                On-link
 11    266 fe80::db0:f38:6194:3b17/128
                                    On-link
  1    306 ff00::/8                 On-link
 11    266 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

netstat /an |找到/i“:80”

TCP 0.0.0.0:80
0.0.0.0:0 监听 TCP [::]:80 [::]:0
听力

Strange thing, I have no problem with other two server 2008 r2 and Win7.

I can access to the IIS7 using localhost or 127.0.0.1, but if I try to access this server with it network IP, the IPv4 Address in ipconfig. It doesn't connect to the the IIS7 and gave connection timeout... I tried to turn off the windows firewall, and it still the same...

I wonder what will be the possible problem? The IIS7 was setup with using WebPlatform and is locate inside VMware with using NAT as network setting.

Thanks in advance...

===========
Edit: Route Print and netstat result

===========================================================================
Active Routes:

Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0    192.168.107.2  192.168.107.129     10
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
    192.168.107.0    255.255.255.0         On-link   192.168.107.129    266
  192.168.107.129  255.255.255.255         On-link   192.168.107.129    266
  192.168.107.255  255.255.255.255         On-link   192.168.107.129    266
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link   192.168.107.129    266
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link   192.168.107.129    266
===========================================================================
Persistent Routes:
  None

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  1    306 ::1/128                  On-link
 11    266 fe80::/64                On-link
 11    266 fe80::db0:f38:6194:3b17/128
                                    On-link
  1    306 ff00::/8                 On-link
 11    266 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

netstat /an | find /i ":80 "

TCP 0.0.0.0:80
0.0.0.0:0 LISTENING TCP [::]:80 [::]:0
LISTENING

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文