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

JITSI_HOST=jitsi.yourdomain.com

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