How to enable external request in IIS Express?

前端 未结 26 1658
借酒劲吻你
借酒劲吻你 2020-11-22 01:55

How can I enable remote requests in IIS Express? Scott Guthrie wrote that is possible but he didn\'t say how.

26条回答
  •  深忆病人
    2020-11-22 02:55

    If you're working with Visual Studio then follow these steps to access the IIS-Express over IP-Adress:

    1. Get your host IP-Adress: ipconfig in Windows Command Line
    2. GoTo

      $(SolutionDir)\.vs\config\applicationHost.config
      
    3. Find

      
         
            
         
         
           
         
      
      
    4. Add:
      with your IP-Adress

    5. Run your Visual Studio with Administrator rights and everything should work
    6. Maybe look for some firewall issues if you try to connect from remote

提交回复
热议问题