.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Imran Ghani
Sohaib Khalid

Home >> Forum >> WCF >> Post New QuestionBookmark and Share Subscribe to Forum

Disco File being searched in localhost

Posted By: Dilip     Posted Date: June 11, 2010    Points:2   Category :WCF

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 There I hosted the service with no change in configuraton file.

I am able to access the service properly by giving But I see the wsdl still points to http://localhost:9000/LinkService?wsdl . It should ideally point to

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 ""



Author: Sunil Yadav       [Moderator]      
Posted Date: June 15, 2010     Points: 5   

Try changing endpoint address and baseAddresses in web.config file.

Author: Dilip             
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.


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend