zxking

Net程序启动之后,使用localhost可以访问,使用127.0.0.1不可以访问,提示以下错误

 

 

 

查看启动的iis,可以访问的地址只有localhost

 

 

 

解决:在项目文件夹下/.vs(隐藏的文件夹)/xx/config/applicationhost.config

增加

 

 

重新启动网站就可以了

 

 

分类:

技术点:

相关文章:

  • 2021-07-01
  • 2021-10-03
  • 2021-10-03
  • 2021-10-03
  • 2021-09-07
  • 2021-10-07
猜你喜欢
  • 2021-10-03
  • 2021-10-03
  • 2021-10-03
  • 2021-03-29
  • 2021-06-18
  • 2021-07-28
相关资源
相似解决方案