×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

thanks a lot. please see the inside for details.

both client and server on the same subnet. ping returns request timed out. windows xp firewall was on on server, then i turned it off, still does not work when accessing from a client machine which does not have firewall. by running pathping <server ip> from client, it returns lost 100% between hop 0 and hop 1. it shows symbol ... instead of ip address of hop 1. when running pathping <client ip> from server, it returns ip address of both hop 0 and 1, lost 0% between hop 0 and 1. ipconfig /all shows IP routing NOT enabled on both client and server. really appreciate your help.
Report

Replies, comments and Discussions:

  • 工作学习 / 专业技术讨论 / 用.net写了个Web Application, 安装在自己的机器上(在这台机上开发的),自己的机器上IE中显示Web Form没问题, 但从同一网内其他机器的IE上输入该地址, 显示 The page cannot be displayed, cannot find server or DNS error. 哪位DX能指点下, 可能是什么问题? 多谢
    • what 地址?
      • http://localhost:8080/myweb :)))))))))))))))
        • problem is localhost, localhost=127.0.0.1 which is the machine you are running on. if your application only listen on localhost:8080 ,then no one except the pc you are running on can access it.
      • 试过IP或机器名都不行, eg. http://<IP address>/<App name> and http://<Machine Name>/<App Name>. any ideas? thanks.
        • try this: http://<IP address>:8080/<App name> and http://<Machine Name>:8080/<App Name>, or change the TCP Port from 8080 to 80 in IIS properties setup.
    • firewall
    • if you put http://ip address, nothing else, can you see the default web page (something saying "under construction")?
      • 豪哥啊,试了http://<IP Address>, 同样显示 The page cannot be displayed, 没看到default 的under construction。 可能会是什么原因? 谢谢!
        • put a test htm file under root folder, by default it's under c:\inetpub\wwwroot. Can you get it displayed correctly by "http://ip/testPage.htm"? That way we know if it is IIS issue or application issue.
          • 应该是IIS的问题。在本机type in http://ip/test.html works, 但从其他机器 type in http://ip/test.html to access this page, shows The page cannot be displayed. 而且我的web application同一个setup file, 安装置另一台机器上works fine. any idea? thanks!
            • Whether it's pingable is not a requirment for TCP traffic. However if ping is enabled and you still can't ping, then focus on your network connectivity. Is the gateway/routing table correct on both source and destination boxes?
              can you telnet into port 80?what is the full message on "the page cannot be displayed" page? DNS error? server not found? server internal error?
              • at the bottom of the page, it shows "Cannot find server or DNS Error". I could not telnet my machine, but I cannot telnet the other good machnine either (the one in which I am able to install web application. thanks for your help.
                • 见内 ==〉
                  (1) by default ping is enabled on windows boxes, however if you have firewall on either box ping might be blocked.
                  (2) I don't understand when you said "you can't telnet the good machine" but "you can open web page that is hosted by the good machine". If you can open web page from a server, you must be able to telnet into that server against port 80.
                  (3) Again if firewall is not enabled on both server/client, then you really need to check your gateway and routing table.

                  A lot questons:

                  Are they on same subnet?
                  what is ping response? "host unreachable"? or "time out"?
                  If it's "host unreachable", it means it doesn't have a route to the target address. If it's time out, the routing table might be wrong, or the path is broken somewhere, You can run "pathping targetIP" to determine at which spot the connectino breaks.
                  post "ipconfig /all" and "route print" results of both boxes, if you can.
                  • thanks a lot. please see the inside for details.
                    both client and server on the same subnet. ping returns request timed out. windows xp firewall was on on server, then i turned it off, still does not work when accessing from a client machine which does not have firewall. by running pathping <server ip> from client, it returns lost 100% between hop 0 and hop 1. it shows symbol ... instead of ip address of hop 1. when running pathping <client ip> from server, it returns ip address of both hop 0 and 1, lost 0% between hop 0 and 1. ipconfig /all shows IP routing NOT enabled on both client and server. really appreciate your help.
                    • "IP routing not enabled" is not related and that is the default setting. what I am asking is the routing table, ip addresses, and gateway address of both boxes. It provided me no information by "hop 0, or hop 1" I need to see the screen output.
                      Besides firewall, some anti-virus and filtering software, such as PeerGuardian, will block certain traffic as well.
                      • it is fine now after i reinstall anti-virus software. thanks a lot!
    • Off windows firewall on your machine.
      • 在firewall中已设置了允许Port 80, 同时也试过了将 firewall 设成 Off 了, 还是不行. 但装在另一台Windows Server 2003 上就可以. 不知是不是我的是Windows XP Professional的原因? 但以前在 XP Professional 上也装过可以用的.
        • 可能是IIS的设置问题,或者匿名访问的用户权限问题。
          • 嗯,就是不知道什么地方设置有问题,匿名访问的用户权限已设, 在Authentication Methods 中 Anonymous access, and Integrated Windows authentication 已选。这点设置的和另一台能运行的机器上一样。郁闷中..
            • 1. can u ping? 2. can u open any static page on that server from another machine?
              • 1. 试过 Ping, ping 不到。开始也认为一定要ping到才行,不过后来看另一台机器也ping不到, 在那机器上安装了同一个Web Application后,可以运行的。不知是什么原因。2. 没试过static page, 周一上班后去看看。谢谢
                • 你ping的的是FQDN还是hostname。如果FIREWALL OFF的话,你能用网页访问,就能PING得到。可能是IIS的问题,如果不是DEFAULT WEB SITE的话,检查一下HOST HEADER NAME是什么
        • Turn Firewall Off in Control Panel->Administrative Tools->Services->Windows Firewall/Internet Connection Sharing