Livechat connection error


I built rocketchat as docker image and enabled omnichannel but when i try to install livechat in html file , i get net::ERR_CONNECTION_REFUSED

How i can fix this error ? …Thanks in advance

Server Setup Information

  • Version of Rocket.Chat Server: 3.7.0-develop
  • Operating System: Linux
  • Deployment Method:
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v12.18.3
  • MongoDB Version: 4.0.20
  • Proxy:
  • Firewalls involved:

Any additional Information

Have you got ‘Restrict access inside any Iframe’ in the general settings enabled or disabled?
I find that is one of the main causes it does not work.