accessing an iis localhost path from another computer on the network

為{幸葍}努か 提交于 2021-02-08 05:17:35

问题


I have a web application project in visual studio 2015. and i built it on Local iis with http://localhost/WebApplication1 URL. i can access to the project from my computer with above url but i can not access from another computer that i directly connected it to this.

I check these:

1.I can share folders from these computers.
2.I make a rule in firewall for port 80 inbound
3.I checked vs debug remote allowed in firewall
4.I checked "ping localhost" and it received ping

I use windows 10 with iis express 6


回答1:


IIS Express was primarily designed to only process local requests for debug and development purposes. Though one can open it up and provide external requests with your site with a few tweaks.

In the file applicationhost.config which resides at %userprofile%\documents\iisexpress\config change your localhost to * or even the name of your machine.

Otherwise why not install IIS which allows for more tweaking of the site than express?

How to Install IIS on Windows 8 or Windows 10



来源:https://stackoverflow.com/questions/36157264/accessing-an-iis-localhost-path-from-another-computer-on-the-network

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!