Please see if the following link points you in the right direction. [https://learn.microsoft.com/en-us/iis/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing
How to setup reverse proxy in IIS for non-http port using net.tcp
How to setup reverse proxy in IIS for non-http port using net.tcp. Is this supported by IIS
e.g. reverse proxy incoming traffic on port 8000 to backend server on port 9000
3 answers
Sort by: Most helpful
-
-
Sam Wu-MSFT 7,536 Reputation points Microsoft Vendor
2023-01-20T03:43:12.38+00:00 You can try to enable net.tcp in IIS, and then setup reverse proxy, about how to enable net.tcp you can follow below steps:
- Open Control Panel=>Programs=>Click on Uninstall or Change a Program=> Click on Link "Turn Windows Features on or off".
- Windows Features window will be opened, expand .NET Framework Advance Service.
- Expand WCF Services=>Select All the Features HTTP Activation, Message Queuing (MSMQ) Activation, Named Pipe Activation, TCP Activation, TCP Port Sharing. Click the OK button.
- You will get a message popup, close the window (Clicking on the close button), restart your machine, and follow the below steps.
- Then open Windows 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 the value net.tcp.
More information you can refer to this link: Enable Other Protocols (TCP, PIPE, MSMQ etc.) In IIS.
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.
-
Amit Singh 5,071 Reputation points
2023-01-20T05:20:52.68+00:00 IIS ARR/URL Rewrite is designed for HTTP/HTTPS only. If you want to forward raw TCP traffic, you need to check other products.