IIS Express (WebMatrix) open for outside connections

老子叫甜甜 提交于 2019-12-10 02:06:45

问题


I've already enabled firewall rules for IIS Express (HTTP Traffic In) and IIS Express (HTTPS Traffic In) on ports 80 and 2012 (this one is used in WebMatrix), but I can't connect to the server from my LAN. WebMatrix is running on a virtual Windows 7 machine.

Is this a limit of IIS Express?> Yes - you can redistribute IIS Express with your applications. There are no connection limits. ScottGu's blog


回答1:


It is possible though it takes some effort, there's a great blog post on this here and Vaidy talks about IIS Developer Express on the CodeCast podcast here.




回答2:


Is it listening on local ports only, i.e. do you see 127.0.0.1:80 not 0.0.0.0:80 on netstat -an?

I haven't played with IIS Express yet so I don't know what the default is or how to configure this.




回答3:


I was trying your same configuration and was unsuccessful in opening the Windows 7 firewall to just IIS Express. I was successful by opening the port I was using (80) to any application rather than restricting to just one application. My guess is that IIS Express goes through a service (HTTP.SYS?) and that needs to be allowed but I have not yet researched that.



来源:https://stackoverflow.com/questions/3482905/iis-express-webmatrix-open-for-outside-connections

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