IIS 7 and Above
Application Request Routing (ARR)
Websocket (Fleck) reverse proxy problem
Last post Jan 18, 2018 09:06 AM by Yuk Ding
Jan 12, 2018 08:13 AM|crisfopra|LINK
I have a problem with reverse proxy, im trying to do reverse proxy because my Fleck websocket has ip: ws://localhost:8181 but on develop server 8181 port is not open and i have to configure Angular5 frontend opens a channel on localhost:80/status and localhost:80/status
redirect to ws://localhost:8181
Jan 15, 2018 06:52 AM|Yuk Ding|LINK
Could you explain where is the problem? IIS support the ARR reverse proxy for websocket as long as you install the IIS websocket protocol under IIS development feature and application request routing 3.0.
Here is the sample to build websockets reverse proxy:
Jan 15, 2018 07:55 AM|crisfopra|LINK
Hi Yuk Ding!
My problem is I have to redirect from ws://localhost/direct to ws://localhost:8181 and in the sample only explain
EDIT; I've done this but now i have other error WebSocket connection to 'ws://localhost/wstest' failed: Error during WebSocket handshake: Incorrect 'Sec-WebSocket-Accept' header value
Jan 18, 2018 09:06 AM|Yuk Ding|LINK
This link show that the web socket is supported by URL rewrite and ARR:
Did you set the rewrite rule correctly.