How do you setup a chat client to use nethserver?

NethServer Version: NethServer release 7.3.1611 (Final)
Module: Ejabber chat server

Hi Team,

I’ve enabled the chat server in nethserver. On a Windows 7 VM that is connected to my nethserver domain I’m trying to use a chat client (pidgin). I’m receiving an error in my pidgin that my user is unable to connect. What are the correct settings to input to get this working?

My nethserver IP is - 10.101.1.2
My nethserver Domain IP is - 10.101.1.3
My nethserver hostname is - xyzmainserver.xyzdomain1.xyz.ca
My nethserver domain name is - xyzdomain1.xyz.ca
My Windows VM is pointing to nethserver for DNS. This VM does not use nethserver DHCP.
I have a domain username as domain on nethserver.

What do I input in the following pidgin fields?
Protocol (I’m assuming XMPP)
Username
Domain
Resource

And on the Advanced Tab:
Connection Security
Connect Port (I’m assuming 5222)
Connect Server

Thank you.

Protocol (I’m assuming XMPP)
Username your username
Domain main domain
Resource

And on the Advanced Tab:
Connection Security
Connect Port (I’m assuming 5222)
Connect Server your_server_ip

Hey @alefattorini, thanks for the reply!

I have done this as you’ve suggested…I think. Here is what I put in based on the info I provided above in my initial post:

Protocol - XMPP
Username - admin
Domain - xyzdomain1.xyz.ca
Resource - <I’ve left this blank>

Advanced Tab:
Connection Security - Require encryption
Connect Port - 5222
Connect Server - 10.101.1.2

I test my connection and Pidgin give an error and says:

“Server closed the connection”

Where can I look in nethserver for the log to say a connection was attempted for Ejabberd?
Any other ideas on why my chat server in nethserver is not working for me?

Thank you.

Make sure you have port 5222 open from LAN in the firewall config

Hello @edi, I don’t have any firewall installed or configured in nethserver. Where do I open the port 5222 in Nethserver?

I’ve turned off the firewall on my Windows VM (for now) to make sure there is no issue from my Pidgin client.

Thanks,

Ok Team…I’ll try adding pictures. These are my nethserver details:

My nethserver IP is - 10.101.1.2
My nethserver Domain IP is - 10.101.1.3
My nethserver hostname is - xyzmainserver.xyzdomain1.xyz.ca
My nethserver domain name is - xyzdomain1.xyz.ca
My Windows VM is pointing to nethserver for DNS. This VM does not use nethserver DHCP.

This is what I’ve input into Pidgin for my setup:

And on the Advance Tab this is what I did:

I have no firewall installed on nethserver. My firewall is turned off on my Windows VM.

The error I get when I try and connect from Pidgin says:

Server closed the connection

  1. Where is this message originating from?
  2. Does nethserver have logs available for Ejabber?
  3. Did I input the details incorrectly into my chat app to cause this error?

Thanks!

Did you change admin password? Can you try with another user?

You can find the ejabberd logs here:

/var/log/ejabberd

Check /var/log/ejabberd/ejabberd.log if you see your connections