I have a WCF service deployed to AppHarbor. The problem is it tries to find the service and the clientaccesspolicy.xml file on the Localhost on the Client machine, not the server. That's why I'm the only one who can access the WCF on the site because I have the files on my computer. Everyone else gets a 404 error or "No connection could be made because the target machine actively refused it 127.0.0.1:80"
What do I need to add to get the localhost on the Server?
I'm not sure what part you are hosting, but you may have to do it programmatically veruses a file. Also, can you use a relative path for the xml file opposed to using an address like "http://localhostort/clientaccesspolicy.xml"?
Re: [SOLVED] WCF trying to check localhost on client
Ah, so it was the client, you can also set that in the config file as when you add a service reference it should automatically add the binding and endpoints to the config file.