简体   繁体   中英

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.

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.

I want to access this from my iPhone and iPad too to check how it displays et c.

I've tried logging in with http://pete-laptop/ and https://pete-laptop and no joy.

I've tried http://pete-laptop.local and also my IP address. 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.

How do I get it to route incoming traffic on pete-laptop to IIS express rather than 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

Next, try to set IIS-express to :. Some pointers here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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