Connection refused error

I have installed jitsi in ubuntu 16 server. After following all the steps I have getting an error in connection which i found in /var/log/jitsi/jicofo.log
My domain https://vc.imsprime.com/
Error:
Jicofo 2020-04-19 01:23:03.897 SEVERE: [36] org.jitsi.meet.ComponentMain.log() java.net.ConnectException: Connection refused (Connection refused), host:localhost, port:5347
org.xmpp.component.ComponentException: java.net.ConnectException: Connection refused (Connection refused)
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:296)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
at org.jitsi.meet.ComponentMain.lambda$getConnectCallable$0(ComponentMain.java:285)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:174)

I will be very thankful if you can say where i did the mistake

Few Result:
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 8388608 unlimited bytes
Max core file size 0 unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 65000 65000 processes
Max open files 65000 65000 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 15738 15738 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us

Jicofo Config:

Jitsi Conference Focus settings

sets the host name of the XMPP server

JICOFO_HOST=localhost

sets the XMPP domain (default: none)

JICOFO_HOSTNAME=vc.imsprime.com

sets the secret used to authenticate as an XMPP component

JICOFO_SECRET=Ifsgo2d1

sets the port to use for the XMPP component connection

JICOFO_PORT=5347

sets the XMPP domain name to use for XMPP user logins

JICOFO_AUTH_DOMAIN=auth.vc.imsprime.com

sets the username to use for XMPP user logins

JICOFO_AUTH_USER=focus

sets the password to use for XMPP user logins

JICOFO_AUTH_PASSWORD=PuYWBygU

extra options to pass to the jicofo daemon

JICOFO_OPTS=""

root@ip-10-0-1-71:/etc/jitsi/jicofo# netstat -an | grep 5347
tcp 0 0 127.0.0.1:5347 0.0.0.0:* LISTEN
tcp6 0 0 ::1:5347 :::* LISTEN

root@ip-10-0-1-71:~# tail -f /var/log/prosody/prosody.log
Apr 19 02:11:11 c2s2325bd0 info Authenticated as jvb@auth.vc.imsprime.com
Apr 19 02:11:41 focus.vc.imsprime.com:component warn Component not connected, bouncing error for:

root@ip-10-0-1-71:/usr/share# lsof -i:5347
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
lua5.1 1420 prosody 8u IPv4 16768 0t0 TCP ip6-localhost:5347 (LISTEN)
lua5.1 1420 prosody 9u IPv6 16769 0t0 TCP ip6-localhost:5347 (LISTEN)