Both Video & Audio not working on fresh install UBUNTU 16.04

Hi
After having installed jitsi on a desktop (ubuntu 16.04) successfully, I tried to do the same thing on a server => on the server neither video nor audio is working.

Any help would be greatly appreciated .

Server is Ubuntu 16.04, I followed the quick install and updated hosts and hostname files

Server has a FQDN = jts_dot_domain_dot_com
Hosts and hostname files have been updated accordingly

Hosts
127.0.0.1 localhost jts_dot_domain_dot_com
127.0.1.1 jts_dot_domain_dot_com jts

The following lines are desirable for IPv6 capable hosts

::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
HERE_IP_OF_SERVER jts_dot_domain_dot_com jts

Hostname
jts_dot_domain_dot_com

Prosody seems to be listenning to 5222 (lsof returns listening processes on 5222)

Firewall is not enabled yet

In jicofo.log there are errors.
First one seems to be
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect().303 Failed to connect/login: The following addresses failed: ‘localhost:5222’ failed because: localhost/127.0.0.1 exception: java.net.ConnectException: Connexion refusée (Connection refused), localhost/0:0:0:0:0:0:0:1 exception: java.net.ConnectException: Connexion refusée (Connection refused)
org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘localhost:5222’ failed because: localhost/127.0.0.1 exception: java.net.ConnectException: Connexion refusée (Connection refused), localhost/0:0:0:0:0:0:0:1 exception: java.net.ConnectException: Connexion refusée (Connection refused)

It is normal to see those in the log file while things are installing, it should reconnect …
If it is just audio and video not working this is firewall, port-forwarding not working or jvb not advertising correct public ip address. Checkout advanced section of Self-Hosting Guide - Debian/Ubuntu server · Jitsi Meet Handbook for more info.

firewall is off
and server is not being a nat

I have already checked the advanced settings you mentionned

I also have this exceptionJicofo 2020-05-06 19:18:44.720 INFOS: [30] org.jitsi.protocol.xmpp.AbstractOperationSetJingle.sendAddSourceIQ().445 Notify add SSRC test@conference.jts.profeci.tools/3f38254a SID: bpkq0f81q6dtg Sources{ video: [ssrc=500672043 ssrc=3911486900 ssrc=1816820296 ] audio: [ssrc=3054694937 ] }@1194476815 source_Groups{ video:[ SourceGroup(SIM)[ ssrc=500672043 ssrc=3911486900 ssrc=1816820296 ] ] }@218606048
Jicofo 2020-05-06 19:19:13.653 AVERTISSEMENT: [19] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener() Connection XMPPTCPConnection[focus@auth.jts.profeci.tools/focus6277036736455] (0) closed with error
java.net.SocketException: Relais brisé (pipe) (Write failed)