IIS support for TCP Stream on non-http/https port

venkatesh_vsa 31 Reputation points
2023-01-19T17:05:16.6766667+00:00

Does IIS support TCP Stream on non-http/https port. How could i setup a tcp upstream, similar to nginx tcp upstream on non-http port

Windows development Internet Information Services
Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Limitless Technology 44,746 Reputation points
    2023-01-20T17:09:31.4+00:00

    Hello there,

    Windows IIS by default supports only HTTP, HTTPS, and FTP protocols and you will get those protocols in the binding window of IIS. You can follow the below steps and see if that helps.

    -‘Turn Windows Features on or off’ - expand .NET Framework Advance Service.

    -Expand WCF Services=>Select All the Features HTTPActivation, Message Queuing (MSMQ) Activation, Named Pipe Activation, TCPActivation, TCP Port Sharing. Click the OK button.

    Open IIS=> in Connections panel=> expand Sites=>Select your website=>Go to Right site Action Pane=> click on Advanced Settings=> Expand the ‘Behavior’ section In the field ‘Enable Protocols’ set these below values by commas,

    For activating TCP protocol set ‘net.tcp’

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    1 person found this answer helpful.
    0 comments No comments

  2. rr-4098 2,051 Reputation points
    2023-01-19T18:09:14.38+00:00

    NGiNX appears to be a software proxy load balancer, is this the functionally you are looking for?


  3. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2023-01-19T20:58:21.5433333+00:00

    to use iis as a reverse proxy, use the application request routing module:

    [https://www.iis.net/downloads/microsoft/application-request-routing

    0 comments No comments

  4. venkatesh_vsa 31 Reputation points
    2023-01-19T22:27:48.1333333+00:00

    iis rerouting only supports http and https

    0 comments No comments

  5. Sam Wu-MSFT 7,561 Reputation points Microsoft External Staff
    2023-01-20T03:25:39.4033333+00:00

    @venkatesh_vsa

    If you wanted to use non-HTTP protocols (e.g. net.tcp) you had to self-host. Microsoft introduced the Windows Process Activation Service (WAS) to allow common hosting within IIS regardless of the communications protocol being used, you can host your net.tcp WCF services on IIS.

    More information you can refer to below links:

    1. Extend Your WCF Services Beyond HTTP With WAS
    2. Choosing a Transport

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.