# Livechat connection error

**URL:** <https://forums.rocket.chat/t/livechat-connection-error/8604>\
**Category:** Community Support\
**Created:** [September 21, 2020, 1:44pm UTC](https://forums.rocket.chat/t/livechat-connection-error/8604 "2020-09-21T13:44:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmed\_nageh](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@ahmed\_nageh](https://forums.rocket.chat/u/ahmed_nageh)\
**Post date:** [September 21, 2020, 1:44pm UTC](https://forums.rocket.chat/t/livechat-connection-error/8604/1 "2020-09-21T13:44:20Z")

</div>

### Description

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

 ![InkedCapture_LI](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/1/18bb459444f0751aa22685e1e8b420c794cf91da.jpeg)

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

---

<div class="post-metadata">

**Author:** ![TonyB70](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@TonyB70](https://forums.rocket.chat/u/TonyB70)\
**Post date:** [September 22, 2020, 7:57am UTC](https://forums.rocket.chat/t/livechat-connection-error/8604/2 "2020-09-22T07:57:12Z")

</div>

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.
