Failed to connect/login: host-unknown

I created two servers for separation of video-bridge and meet-web.
While making connection between meet and videobridge get this error in error log of jicofo

XmppProviderImpl.doConnect#222: Failed to connect/login: host-unknown

It seems that JVB doesn’t know the JMS domain. Try the followings and then configure the conf files

export DEBIAN_FRONTEND=noninteractive
debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $JITSI_HOST"
apt-get install -y jitsi-videobridge2

Thanks emrah for reply.

Still getting the same issue

Also getting this error in browser console
Strophe: BOSH-Connection failed: improper-addressing

Did you purge the installed packages before reinstalling?

apt-get purge jitsi-videobridge2
apt-get autoremove --purge

Then reinstall it

yes i run all above commands in videobridge server after uninstalling it.

Can you compare the configs of default JVB (which is on JMS) and remote JVB?

I don’t have default JVB because i didn’t installed videobridge on jitsi-meet-web sever

I have same problem. Abhay do you have a solution?

The least worrisome way to configure a remote JVB is to first get the local JVB working, install the remote JVB, get it working, then disable the local JVB. Saves you a ton of headaches.