简体   繁体   English

外部网络路由到iis full而不是iis express

[英]external network routing to iis full not iis express

I have configured IIS express to work on port 80 and 443 and set up a certificate and add bindings to the configuration file. 我已将IIS Express配置为在端口80和443上工作,并设置了证书并将绑定添加到配置文件。

All is working fine and as expected on my development machine. 一切正常,并在我的开发机器上按预期进行。

I can access http://pete-laptop/ and https://pete-laptop and all is good. 我可以访问http://pete-laptop/https://pete-laptop ,一切都很好。

I want to access this from my iPhone and iPad too to check how it displays et c. 我也想从我的iPhone和iPad上访问它,以查看其显示方式等。

I've tried logging in with http://pete-laptop/ and https://pete-laptop and no joy. 我尝试使用http://pete-laptop/https://pete-laptop登录,没有任何乐趣。

I've tried http://pete-laptop.local and also my IP address. 我尝试了http://pete-laptop.local以及我的IP地址。 both of these options display the IIS (full) holding page (bluey greeny IIS7 logo) as it seems to be routing it to the full version of IIS rather than express. 这两个选项都显示IIS(完整)保存页(蓝色IIS7徽标为绿色),因为它似乎将其路由到IIS的完整版本,而不是快速表达。

How do I get it to route incoming traffic on pete-laptop to IIS express rather than IIS full? 如何获得将pete-laptop上的传入流量路由到IIS Express而不是IIS Full的能力?

I have done the following, is that not enough? 我已经做了以下工作,还不够吗?

netsh http add urlacl url=http://pete-laptop:80/ user=everyone
netsh http add urlacl url=https://pete-laptop:443/ user=everyone

There might be multiple things working against you: 可能有很多事情不利于您:

Edit IIS binding 编辑IIS绑定

Next, try to set IIS-express to :. 接下来,尝试将IIS-express设置为:。 Some pointers here 这里的一些指针

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM