I am using wcf web service in my project (server-client) in local host mode and it works fine
now I need to connect to this service from another machine on the same local network
what should I change in the config file in my client ?
I changed the endpoint of my client to the IP of the machine that contains the local server and could not connect!
<endpoint address="http://10.131.40.22:8732/Design_Time_Addresses/WcfServiceLibrary_Test/Service1/"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_RepositoryManager"
contract="onlineExchangeCenter.RepositoryManager" name="WSHttpBinding_RepositoryManager">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
What errors are you getting? The issue could be firewall related.
I generally expose a MEX endpoint at the server and then generate the client config files through SVCutil.