开发者

Hosting WCF app in IIS 6 - localhost replaced with machine name

开发者 https://www.devze.com 2023-01-03 16:42 出处:网络
I\'ve recently moved my Silverlight solution off of Casini (one for service, one for SL app) and over to IIS to simulate production. It\'s one website on a port (localhost:2002) containing two web app

I've recently moved my Silverlight solution off of Casini (one for service, one for SL app) and over to IIS to simulate production. It's one website on a port (localhost:2002) containing two web applications, one for my SL app and one for my WCF service. Everything works fine in Casini with a clientaccesspolicy xml file, but in IIS something is replacing loca开发者_StackOverflow社区lhost:2002 with my machine name in the WSDL. What causes that, and how can I stop it?


In IIS, the domain of the website vis replaced by the machinename unless there are host headers configured. This is also true with SSL, though you have to use adsutil to change an SSL host header.

0

精彩评论

暂无评论...
验证码 换一张
取 消