Re: WebSocket port?

2017-12-25 Thread Tomasz Sterna
W dniu sob, 23.12.2017 o godzinie 17∶05 -0500, użytkownik James
Bellinger napisał:
> I added  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/




WebSocket port?

2017-12-23 Thread James Bellinger

Hello,

I added  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:// ? There is no documentation that 
I can find. Do I need to have nginx forward, will it open a listener on 
a port (if specified), or...?


Thanks!

James