I have WCF Service Running My Local IIS
[
^]
When i Access Local every thing is Ok, but when i try to access Over Internet Using Public IP that Mapping to my Local IP and Post,
after I add Wcf Service in Client and i Call
I Got This Error:
There was no endpoint listening at http:
thanks for U Help...
What I have tried:
My Config File :
="1.0"
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="mexbehavior">
<serviceMetadata httpGetEnabled="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="mexbehavior" name="HelloService.HelloService">
<endpoint address="HelloService" binding="basicHttpBinding" contract="HelloService.IHelloService"/>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:90"/>
</baseAddresses>
</host>
</service>
</services>
</system.serviceModel>
<system.web>
<compilation debug="true" targetFramework="4.5.2" />
<httpRuntime targetFramework="4.5.2" />
</system.web>
</configuration>