W dniu sob, 23.12.2017 o godzinie 17∶05 -0500, użytkownik James Bellinger napisał: > I added <websocket/> to the c2s configuration, but as far as I can > tell, no new ports are open and nothing has changed. > > How do I specify a port etc. for wss:// ?
jabberd2 autodetects HTTP on standard C2S port. It was mostly usefull to listen C2S on 80/443 to bypass firewalls and redirect real HTTP connections to real HTTP server. This mechanism allows now to autodetect WebSocket on standard C2S port. So you just use ws://example.com:5222/ and wss://example.com:5223/ As simple as that. Of course you can enable C2S listener on any non-standard port like 5280 etc. -- smoku @ http://abadcafe.pl/ @ http://xiaoka.com/