c# 3.0 - Problem in deployment of wcf service using localhost in service url -
I created and deployed wcf service on the server as a Windows service, with url in app.config " ... "I am accessing this WCF service from the client machine's browser (different from the client machine) using the URL" ...... ", but I am not able to access it because it is my client The request is redirected to the local host and not for the server, what about it Can i help
My second question regarding this is that I have to use the servanam in the url or localhost, okay, what's the best way?
Change the URL in the config file to point to the actual server. This is all you need to do.
The local host is their local machine, or when you are developing the your local machine, that is why it works in the development.
Comments
Post a Comment