我正在尝试发布ClickOnce
应用程序并在本地进行测试。我想提供安装链接,所以我需要使用 IP 地址更新位置,否则我将无法安装它(因为localhost
被翻译成计算机名称并且无法访问)。问题是,IIS
我只能通过localhost
在地址中使用来访问我的页面。
http://localhost:9995/publish/Publish.htm <-- working
http://192.168.1.104:9995/publish/Publish.htm <-- not working (my IP address)
http://my_pc_name:9995/publish/Publish.htm <-- not working
http://127.0.0.1:9995/publish/Publish.htm <-- even that is not working
我正在使用Windows 7
and Visual Studio 2012
with IIS Express 8.0
,但我尝试了同样的方法,Visual Studio 2010
但ASP.NET server
仍然失败。我关闭了防火墙。
你有什么想法可能是错的吗?