I have a silverlight application which works perfectly and can access the WCF services which are hosted in silverlight application itself. The port it is using is 1794.
When I deploy to other servers (dev or test or staging), the application is not able to access WCF services.
This is a snippet from my ServiceReference.ClientConfig looks like
<endpoint address="http://localhost:1794/MyWebService.svc"
binding="customBinding" bindingConfiguration="CustomBinding_MyWebService"
contract="ConfigMgmtServiceReference.MyWebService"
name="CustomBinding_MyWebService" />
My root folder contains the clientaccesspolicy.xml file too.
How can I get past this issue?
Thanks in advance.