Recording Stopped

for the jibri configuration i used the jibri.conf file.
But when I go to start recording… “Recording Stopped”.

Error is jibri server is jitsi server

from jibri
echo hello | nc 5222
<?xml version='1.0'?><stream:stream xmlns:stream='' xmlns='jabber:client' xml:lang='en'><stream:error><not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>root@jibri:/mnt/rec#

from jitsi curl
curl: (7) Failed to connect to port 5222: Connection refused
Not enable firewall. Status: inactive

from jibri curl
curl: (1) Received HTTP/0.9 when not allowed
Not enable firewall. Status: inactive

Thank you!