Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5962859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:09:54+00:00 2026-05-22T19:09:54+00:00

I am trying to make a WCF communication between two machines in which one

  • 0

I am trying to make a WCF communication between two machines in which one will act as server and the other will act as client. I am able to make it work within my system , but it doesnt work when i try to connect to my friend’s system.

EDIT: A weird thing is happening now. I just started the wcftestclient from command prompt by giving “wcftestclient address”. It retrieved the metadata of my friend’s server. But, when i invoke the operation, it gives error “no endpoint listening at localhost” . how can it be localhost? it should be my friend’s IP address,right?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T19:09:55+00:00Added an answer on May 22, 2026 at 7:09 pm

    The <add baseAddress=...> is a section of the <services> section, not the client. To change the base address used by a WCF client, you need to set the address on the client section:

    <client>
      <endpoint address="http://your_friend_ip/address" binding=... contract=..." />
    </client>
    

    Also notice that you may need to open some port in the firewall of the service to have the request go through.

    Another thing, if your friend’s service has metadata enabled, then you can add a service reference on your machine (either using VS Add Service Reference, or using svcutil) by pointing to your friend’s service, and that will create the config with the appropriate endpoint address.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My client/server application is using WCF for communication, which has been great. However one
Being completely new to WCF, I'm trying to make a RESTful service which will
trying to make a page which will recursively call a function until a limit
I'm trying to make a WCF service that will work with JSON-P (long-story short,
I am trying to make a soap server with the attribute OptIn in WCF
I'm trying to make an PHP Client for an WCF Webservice. But i get
I'm trying to make a webservice (WCF) to get information about my server. I
I'm currently trying to find good way to make calls to WCF services in
While trying to make one of my python applications a bit more robust in
I am trying to make a WCF REST method entirely asynchronous (I don't want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.