Can't access Visual Studio project from IP, only http://localhost

后端 未结 5 918
忘了有多久
忘了有多久 2021-01-17 19:25

I\'m running a project in visual studio. I hit run and it launches IE pointing at http://localhost:1267

If I try to visit http://10.211.55.3:1267

5条回答
  •  南方客
    南方客 (楼主)
    2021-01-17 20:21

    For IIS Express, you need to grant yourself permission to bind to network adapters other than localhost, and configure IIS express to bind to all adapters. If you desire access from another computer, you need to also open the port on your firewall. This answer details these steps.

提交回复
热议问题