Search code examples
urliislocalhostasp.net-corehostname

asp.net core RC2 iis hosting


I have hosted asp.net core app in IIS on window server 2012 R2 Standard. My site works fine when I use localhost based URL on the machine but when I try to access the URL using host name/machine name from network computer it does not work. What do I need to do to make it accessible from other computers?


Solution

  • There can be different reason for this:

    • Check your firewall to make sure your port 80 is open.
    • Check that the hostname point to the IP URL of your server.

    What is the http code returned by the it does not work?

    Tool:
    Enter the Domain and IP, make sure they point to the same place.

    http://www.hcidata.info/host2ip.htm