Hi,

I am using ATS (successfully) to forward incoming websocket connections to a 
local receiver listening on 8080/tcp (node process).
But since this means multiple local ports being used for effectively a single 
users websocket connection, I would like to forward those incoming connection 
to a unix socket instead of a tcp port.

The main problem is, that using tcp ports runs quickly into the limit of max 
open ports (even after tweaking sysctl values).

I was looking into documentation and Github issues, searched the web, but only 
found a reference, that it should be possible.

I use a maping rule right now:

remap.config:
```
regex_map wss://(.*).example.com/sockets ws://127.0.0.1:8080/sockets
```

When changing the receiving part to "unix:///some/path" ATS complains about 
mixing protocols (ws vs unix).

Is this just wrongly written, or not even possible?

Thanks for any insights.
Philipp

Reply via email to