Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

XMPP ports in 2.0.7

Will Payne November 25, 2016

We need to maintain support for older clients at the moment so after upgrading to 2.0.7, I ran the "hipchat network --enable-xmpp-ports" command which seems to complete successfully but "netstat -lpn | grep 522" only shows port 5221 as listening. Any advice on fixing xmpp support?

1 answer

1 accepted

2 votes
Answer accepted
wdehaan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2016

Hi Will,

Ports 5222, 5223 are serviced by iptables, while the XMPP service, tetra-proxy-*, is always running and plumbed up in pre and post tables.

i.e.

-A PREROUTING -p tcp -m tcp --dport 5222 -m state --state NEW -m statistic --mode nth --every 4 --packet 0 -m comment --comment tetra-proxy-0-chat-port -j DNAT --to-destination :5232

&

-A OUTPUT -p tcp -m tcp --dport 5222 -m state --state NEW -m statistic --mode nth --every 4 --packet 0 -m comment --comment tetra-proxy-0-chat-port -j DNAT --to-destination :5232

 

Will Payne November 27, 2016

Ah, that explains it. Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events