Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Disco File being searched in localhost
June 11, 2010
I wrote one small wcf application and self hosted in my localhost with http://localhost:9000/LinkService . Every thing works fine and the client is able to generate the proxy properly. Now I moved this application to another machine having ip as 18.104.22.168. There I hosted the service with no change in configuraton file.
I am able to access the service properly by giving http://22.214.171.124:9000/LinkService. But I see the wsdl still points to http://localhost:9000/LinkService?wsdl . It should ideally point to http://126.96.36.199:9000/LinkService?wsdl
This is reason why my client app not able search for the disco file. Why is it so. What shall I do in order to rectify.
Note: I have not recompiled the application in the new machine "188.8.131.52"
Posted Date: June 15, 2010 Points: 5
Try changing endpoint address and baseAddresses in web.config file.
Posted Date: June 16, 2010 Points: 5
the base address is http://localhost:9000/LinkService. What do you expect the base address to be. I believe if it is localhost, it should take care of ip address of that particular machine where it is hosted.
To post reply
Related Questions Related Questions
How to write to a text file in C#
How to copy a file from server to local system
Any alternative to using web.config file
upload image file in windows application
How to create .exe file
How to display Searched Records in Highlight way inside GRIDVIEW ?
SWF file problem
bind xml file data into datatable
How to Upload One file and store in one Folder in C# with Windows...
Read XML File into DataGridview
Latest Forum Questions From The Same Category
How to create .mlx File and send it to Client Using WCF Service
OperationContract Name and UriTemplate
WCF Namespaces for simple json enabled services
Best Practice for Collections
Post and Get File using Webservice
How to call https wcf webservice
Unable to call the webservice from console application?
The socket connection has been disposed
how to use sessions in wcf?how many types of sessions and session modes in wcf?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend