I'm trying to publish ClickOnce
application and test it locally. I want to provide installation link so I need to update location with an IP address otherwise I won't be able to install it (because localhost
is translated into computer name and it's not accessible). The problem is, that on my IIS
I can access my page only by using localhost
in the address.
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
和Visual Studio 2012
,IIS Express 8.0
,但我在Visual Studio 2010
上try 了同样的方法,结果仍然是ASP.NET server
,仍然失败.我把防火墙关掉了.
你知道什么地方会出错吗?