Opening Port 5222 for Jabber

Have set port forwarding for port Added IP tabels line: -A INPUT -p tcp -m tcp --dport 5222 -j ACCEPT

then tried

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 143 -j ACCEPT

/etc/init.d/iptables restart both times.

Port still closed when checked.

Any ideas, thanks!

Status: 
Active

Comments

Howdy -- that second line you mentioned above, that's for IMAP (143) rather than Jabber (5222).

However, I'm curious what output you receive when typing these two commands:

iptables -L -n | grep 5222

netstat -an | grep 5222

That should give us some ideas of what's going on there... thanks!

yeah sorry the second line was a typo. I did have 5222 in that line and not 443 when I had it in the iptables.

I typed the commands you gave me and they didn't return anything other than the prompt but I had removed those lines. After putting them back in I got this:

[root@v101 ~]# iptables -L -n | grep 5222

ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:5222 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5222

and

[root@v101 ~]# netstat -an | grep 5222

[root@v101 ~]#

Thanks!

Hmm, so where does your Jabber server reside, is it on the same server as Virtualmin? As it doesn't appear as if anything is listening on port 5222 at the moment.

Yes maybe that is the problem the jabber server is external, jabber.org. I am trying to get Flyspray to communicate with jabber.org.

I set up 2 jabber accounts, one for flyspray and one for my local machine with psi for a client. When I initially set up the account information in both ends the local machine received an authorization request from flyspray. I accepted this but flyspray remained in an offline status in the client.

From this I know that flyspray sent a request to my client. I know use of jabber with flyspray is one way communication Flyspray > Client but as I had to accept authorization in the client so I am presuming that some kind of authorization may have to go the other way too. As I'm writing this I'm kind of seeing that way would flysrpay want authorization if communication is unidirectional but I really don't know enough about flyspray and how it really works.

That said you may be right that nothing is listening and maybe its normal that way.

I have followed these Instruction very carefully http://flyspray.org/manual:jabber

Unfortunately Flyspray looks like its discontinued. The forum is absolutely dead with everything going unanswered and its full of spam posts.

Maybe you should discontinue your 1-click of flyspray, just a thought.

Just one thing I'd like to add, although I followed this http://flyspray.org/manual:jabber, the only part I am unsure about is the "XML extension of PHP needs to be installed"

I did a yum install php-xml and it returned, that there is nothing to do, package installed. I checked phpinfo and see a bunch of xml related stuff active but as this instruction is a bit vague and I've failed to find any other information to verify I'm just not sure.