选中iis站点,右键 “编辑绑定”,弹出网站绑定框
通过域名访问,还需要配置hosts文件
访问地址
http://tms-vm201:9065/index.html
http://192.168.18.202:9065/index.html
http://localhost:9065/index.html
如果端口不修改,默认80的话,则
http://tms-vm201/index.html
http://192.168.18.202/index.html
http://localhost/index.html