Spark Can't connect to Openfire server
-
So my first guess is that the firewall is open for the web management ports (9090) but not for the XMPP communications ports. In my installation example I only opened what was necessary for management, a local Spark client would connect but a remote one will not.
-
my goal for implementing this project is to let the users in my company communicate with each other. and spark with openfire was the best free solution i have found.
what shall i do to let all my users be able to connect to the server? -
You will need ports 5222 and 5223 opened for Spark to connect (5223 only for SSL.)
-
what is the commend that i should type on centOS?
-
Try this...
firewall-cmd --zone=public --add-port=5222/tcp --permanent firewall-cmd --zone=public --add-port=5223/tcp --permanent firewall-cmd --reload
-
@samy said:
my goal for implementing this project is to let the users in my company communicate with each other. and spark with openfire was the best free solution i have found.
what shall i do to let all my users be able to connect to the server?OpenFire is an amazing platform. We at @NTG used to run it commercially as well (paid hosting) but phased that out long ago, but 2010 at least.
Another awesome platform, but very different, is Rocket.Chat. I plan on making an installation guide for that shortly as well.
Those are are, so far, the best that I have found for running free inside your own company.
-
awesome ! it worked
-
-
one last question about this topic. would the users show on list automatically when i install spark on their machines?
-
@samy said:
one last question about this topic. would the users show on list automatically when i install spark on their machines?
I doubt it. On the other hand, it's not that hard to get OpenFire integrated into AD/LDAP. Just an annoyance with needing a new version of one of the files the OpenFire server uses. (See my reply in the howto thread. Should have a 1-liner you just have to paste into a shell.) I haven't even rolled out AD yet, but OpenFire is connected and working with it.
Guess I'm doing a lot of talking to me, myself, and I for the time being
-
haha.. alright then.
but it's an excellent tool .. i love it ! -
btw, when i finished the openfire installation, it asked me to put an admin account, but when i try to login to the admin portal it keeps saying the user or password is wrong. any way to reset it from cmd?
-
@samy said:
one last question about this topic. would the users show on list automatically when i install spark on their machines?
no, not by default. However, what you can do is to make a group that includes all users and force that list to everyone from the admin console.
-
@samy said:
btw, when i finished the openfire installation, it asked me to put an admin account, but when i try to login to the admin portal it keeps saying the user or password is wrong. any way to reset it from cmd?
Username is "admin"
Are you use that you got the name correct? Try that, resetting can be done but will be a bit more work.
-
got it : )
-
Great! We are making progress.