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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:32:35+00:00 2026-05-30T12:32:35+00:00

I have a WCF Service hosted on Windows Azure and I just recently changed

  • 0

I have a WCF Service hosted on Windows Azure and I just recently changed it’s contract to be a Duplex contract (to support a progress bar on the client). I first used the wsDualHttpBinding which worked well on my local machine, but as expected failed to work once I deployed it.

I am now trying to configure the service to work with netTcpBinding, but I’m getting the error “The protocol specified is not valid. The protocol ‘tcp’ for the binding named ‘Endpoint1’ is currently not supported.”.

ServiceDefinition.csdef :

<Endpoints>
  <InputEndpoint name="AlertsEndpoint" protocol="tcp" port="3030" />
</Endpoints>

Web.config:

 <services>      
      <service name="AlertsService.AlertsService" behaviorConfiguration="AlertsServiceBehavior">
        <endpoint address="" binding="netTcpBinding" bindingConfiguration="NetTcp" contract="AlertsService.IAlertsService" />
        <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="MexTcp" contract="IMetadataExchange" />
      </service>
    </services>  

<bindings>
      <netTcpBinding>
        <binding name="NetTcp" />
      </netTcpBinding>
      <mexTcpBinding>
        <binding name="MexTcp"/>
      </mexTcpBinding>
</bindings>      
  • 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-30T12:32:36+00:00Added an answer on May 30, 2026 at 12:32 pm

    Web Roles hosting WCF services doesn’t support the TCP protocol.
    You will need to host your WCF service in a Worker Role.

    Web Roles:

    Web roles in Windows Azure provide support for the HTTP and HTTPS
    protocols…

    Worker Roles:

    …and allow the process to communicate externally using a variety of
    TCP-based application protocols with the WCF service by using the
    netTcpBindings binding

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

Sidebar

Related Questions

I have a WCF Service hosted as Windows Service and client is an ASP.Net
I have my WCF Service hosted in Windows Service. The client application is a
I have my WCF Service hosted in Windows Service. The client application is a
I have simple WCF service hosted on Windows Service. When the client of wcf
I have a WCF service hosted on Windows Azure as a cloud service. When
We have created a WCF service hosted in a windows service that handles Authentication
I have a wcf service library that is hosted in a windows service. I
I have a WCF process hosted in a windows service. I am wondering if
I have a WCF environment hosted on a windows service. I have two hosts
I have a WCF service hosted on my local machine as windows service. Now

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.