Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个在我的家用计算机上部署到 IIS 7.5 的 asp.net 网页。当我输入
http://192.168.1.11
进入我的浏览器它工作正常。我希望能够输入电脑名称,因为这样会更简单。即只需输入
http://computername
. 但这不起作用。下面是我的绑定设置,我猜是配置问题所在。我的设置应该是什么?谢谢达摩
从 C:\Windows\System32\drivers\etc 文件夹打开主机文件并添加如下条目
192.168.1.11 computername