No jibri Instance available

Hi,
I have followed string up Jibri and Jitsi on same server. I have used AWS EC2 Instance Ubuntu 18.

Jitsi is seems to be running fine.

I have setup Jibri on same server, Recording option is visible. but when I click record its showing Issue.

I have also checked the log,
I got this
https://pastebin.com/z8wfV0Mv

But Throwing
java.net.SocketTimeoutException: connect timed out

Kind note : My Jitsi server is running on same instance (connect.abc.com is an example I have given)

Thanks in Advance, seeking for help.

@damencho can you please help out ?

'connect.abc.com:5222' failed because: connect.abc.com/<instance-ip> exception: java.net.SocketTimeoutException: connect timed out

Cannot connect to port 5222. Prosody is not listening there.

or a firewall

Running Jibri and Jitsi in same server.

setup prosody also by
prosodyctl register jibri auth.connect.abc.com jibri@abc
prosodyctl register recorder recorder.connect.abc.com recorder@abc