Last post Sep 20, 2014 12:36 PM by itismesa
Sep 20, 2014 11:54 AM|itismesa|LINK
We have a server named Server1 in the DMZ where I hosted my wcf service. This server has also a public IP. I tested the service from office using wcftestclient.exe and it is working just find. When I tried to test from home again with wcftestclient.exe it
is giving me a message says:
There was no endpoint listening at
I am not able to figure out why it is pointing to Server1 not to the public IP although I am calling the service with the public IP. I have changed the base address in the web.config but the issue is still there.
Here is the host web config :
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
<endpoint address="Service" binding="basicHttpBinding" contract="ServiceLibrary.IService">
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<add baseAddress="http://10.10.5.8" />
ANd in the WSDL file I found again the name of the server not the IP.
<wsdl:port name="BasicHttpBinding_IService" binding="tns:BasicHttpBinding_IService">
As long as Server1 is comming in the service address this address cannot be resolve and the service will not work.
Please help me out
Sep 20, 2014 12:36 PM|itismesa|LINK
Thank u guys
I got the answer at this link