« Previous Next »

Answered Thread: Localhost works but the IP does not?

Last post 11-09-2009 2:41 AM by Leo Tang - MSFT. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 11-03-2009, 9:25 AM

    Localhost works but the IP does not?

    I can get to the site when I use "localhost" but cannot find it when I substitute the IP.  IIS is runnong on the same server.  The error is 404.  I have unchecked "show friendly errors..." and I have verified my IP.  I am behind a NetGear router (hardwired into it) and I have opened port 80.  I tried pinging the site however I may have done this incorrectly (ping http://98.254.14.208/cvmail/vxml/ccxmlstart.xml) and receive no return.  Would anyone have any thoughts?

  • 11-03-2009, 9:59 AM In reply to

    Re: Localhost works but the IP does not?

    Hi,

    Which IP address are you trying to browse to ? The IP address of the local machine or the WAN IP address of the router ?

    Regards,

    Paul Lynch | www.iisadmin.co.uk
  • 11-03-2009, 11:33 AM In reply to

    Re: Localhost works but the IP does not?

    I should have been more clear.  This is a web based (XML) application that needs to be available via "anonymous log in".  I began the debug routine by attempting to hit the machine (from the machine) using "localhost".  This worked (displayed the XML page in the browser).  The next step was to replace the "localhost" with the outside IP address as verified via "whatismyip".  This failed.  I was attempting to hit again from the local machine but using the outside IP.  I then attempted to hit the IIS from an outside server but this too failed.  The last step was to ping the server ("ping http://98.254.14.208/cvMail/ccxmlstart.xml".  This failed but I suspect that I an pinging incorrectly.

    IIS: 7, OS Windows 7 (Home Premium), Netgear router (hardwired in); open port 80 (http) on the router.

  • 11-09-2009, 2:41 AM In reply to

    Answered Re: Localhost works but the IP does not?

    Hi,

    You can run "netsh http show iplisten" to check the IP listening(empty list means listen all). And run PortCheck to check the network connectivity.

    Check IIS network connectivity with PortCheck v2.0
    http://mvolo.com/blogs/serverside/archive/2008/01/23/Check-IIS-network-connectivity-with-PortCheck-v2.0.aspx

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (4 items)
Microsoft Communities