Google IT Solutions: localhost does not work

Wednesday, 18 June 2014

localhost does not work

Question: localhost does not work but website can be viewed both internally and externally.

Answer:

If you bind website with localhost then it will browse.

If you bind website with another static IP then website will browse with its static IP but not with localhost.

If you want to browse website via localhost then follow below steps;
  • Open IIS
  • Right click on website
  • Then click on Edit Bindings
  • Assign localhost or IP: 127.0.0.1
  • Click ok and close window
  • Now browse your website.

IIS



No comments:

Post a Comment