如何在IIS中将IP地址从http更改为https的本地主机URL?
问题描述:
如何在IIS中将IP地址从http更改为https的本地主机URL?
外部主机名即将启用SSL证书。但是在localhost中使用ip
将以http发布。我希望它是https://localhost/192.168.4.5/而不是http://localhost/192.168.4.5/。
How to change a local host url with ip address from http to https in IIS ?
External host name is coming https on enabling SSL certificate. But in localhost with ip
is coming as http. I want it to be https://localhost/192.168.4.5/ instead of http://localhost/192.168.4.5/.
答
如果您启用了SSL在本地站点上,您也应该在本地页面上运行https。
If you have enabled SSL on the local site, you should get https working on the local page as well.