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 368291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:48:35+00:00 2026-05-12T13:48:35+00:00

In my web.config, I have specified <services> <service name=Querier.WCF.Querier behaviorConfiguration=QuerierServiceBehavior> <host> <baseAddresses> <add baseAddress=http://myserver:8000/SearcherService/>

  • 0

In my web.config, I have specified

<services>
      <service name="Querier.WCF.Querier"
       behaviorConfiguration="QuerierServiceBehavior">
        <host>
          <baseAddresses>
            <add baseAddress="http://myserver:8000/SearcherService"/>
          </baseAddresses>
        </host>
        <endpoint address="net.tcp://myserver:9000/SearcherService"
                  binding="netTcpBinding"
                  bindingConfiguration="Binding1"
                  contract="Querier.WCF.IQuerier" />
      </service>
</services>

However, the site is not available at http://myserver:8000/SearcherService,

I for some reason have to go to:

http://myserver/SearcherService/SearcherService.svc
(notice the port is missing)

When I go there, it tells me to run

svcutil.exe http://myserver.mycompanyname.com/SearcherService/SearcherService.svc?wsdl

It added a domain name for some reason and when I try to access the service with WCF storm,
I put in http://mymachine/SearcherService/SearcherService.svc, it discovers all the function names fine, but when I try to run one, I get:

There was no endpoint listening at
net.tcp://myserver:9000/SearcherService
that could accept the message. This is
often caused by an incorrect address
or SOAP action. See InnerException, if
present, for more details.

Any ideas as to why my service URL doesn;t match what I specified in the web.config?

NOTE:

I have set nettcp on the app in IIS and enabled the binding on 9000:*

  • 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-12T13:48:35+00:00Added an answer on May 12, 2026 at 1:48 pm

    When you host a WCF service in IIS it is IIS and its configuration who decides the base address for your service and you can only specify relative addresses. The baseaddress only applies to self hosted services.

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

Sidebar

Related Questions

I have a VS 2008 solution that includes a web site and a web
I am attempting to get the WCF Rest Service Template 40 (CS) which is
I have a solution in Visual Studio 2008 with 3 projects. One Web Application
I have: A passive STS login application that is also an identity provider. An
I have a drop down list on my page. The onchange event of this
I am publishing a web page to a local server through VS2010- I haven't
[I have read previous posts on MEF vs MAF vs DI etc, they aren't
I am working on a ASP.NET MVC 2.0 Multi-Presentation web application which would use
Dependency injection stops working for all properties, except the one specified explicitly. Controller: public
I'm trying to troubleshoot a .NET 2.0 error with Outlook Web Access on a

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.