Websockets at a certain port
I need to implement websockets, on 80 and 443 ports using tigase.
Is it possible?
Added by Wojciech Kapcia almost 3 years ago
Yes, you can configure any component to use any port, in case of websockets following configuration should be used (for encrypted WS):
ws2s/connections/ports[i]=80,443 ws2s/connections/443/socket=ssl ws2s/connections/443/type=accept
However please bare in mind, that under Linux there is a limitation in terms of ports you can use for processes run in the user account (i.e. ports greater than 1024). So you would have to either run Tigase as an server or use port forwarding (possibility to use iptables).