Click here to Skip to main content
13,865,046 members
Rate this:
Please Sign up or sign in to vote.
See more:
I can't seen to get the configuration right (I am a beginner at this). My WCF service is being self-hosted on a machine and I want to access if from a different machine. I assume it's all about how I define the endpoints, but I don't know how. I tried with my external IP address like in the code below, but I get an "there is no endpoint listening at ..." error. How can I configure my application to achieve what I need?

What I have tried:

    <behavior name="name">
      <serviceMetadata httpGetEnabled="true" />
  <service name="Namespace.Name" behaviorConfiguration="name">
        <add baseAddress=""/>
    <endpoint address="" binding="basicHttpBinding" contract="Namespace.IName" />
    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.190214.1 | Last Updated 13 Jun 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100