1.设置IIS
2.
点开某一条路径,编辑配置文件
3.添加对应IP地址的端口号
4.添加网络映射
netsh http add urlacl url=https://192.168.0.157:44394/ user=everyone
netsh http add urlacl url=http://192.168.0.157:40880/ user=everyone
如果添加错了,可以删除
netsh http delete urlacl url=http://192.168.0.157:44394/
netsh http delete urlacl url=https://192.168.0.157:40880/