# The connection could not be established to my PBX

**URL:** <https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348>\
**Category:** VitXi WebRTC\
**Created:** [May 19, 2022, 8:32am UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348 "2022-05-19T08:32:00Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![kinn](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/k/d6d6ee/32.png) [@kinn](https://forums.vitalpbx.org/u/kinn)\
**Post date:** [May 19, 2022, 8:32am UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/1 "2022-05-19T08:32:00Z")

</div>

Hi.  
I’m trying to run VitXi and make test calls, but I’ve got a mistake.  
I updated the admin in preference and added the prepared extension for WebRTC.

Here is this mistake:  
 ![image](https://forums.vitalpbx.org/uploads/default/original/1X/07a416b747da00f6699f263b948ee70f69dc5c59.png)

As I understood, port 8089 is not available and the admin from VitXi couldn’t make a connection to PBX

In Admin → Firewall → Rules, I have added the rule “Asterisk HTTP Daemon” which allows users from VitXi to connect on 8088 and 8089 ports.

I have checked if there 8088 and 8089 ports are on listening mode, here is the result:  
 ![image](https://forums.vitalpbx.org/uploads/default/original/1X/b12ac6617271625ddfcc803eca3ec555576645cb.png)

What did I do it wrong?  
I’ll appreciate any help!

---

<div class="post-metadata">

**Author:** ![PitzKey](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/pitzkey/32/420_2.png) [@PitzKey](https://forums.vitalpbx.org/u/PitzKey)\
**Post date:** [May 19, 2022, 8:34am UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/2 "2022-05-19T08:34:41Z")

</div>

What version of VitXi are you running? What happens when you open that link?

---

<div class="post-metadata">

**Author:** ![kinn](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/k/d6d6ee/32.png) [@kinn](https://forums.vitalpbx.org/u/kinn)\
**Post date:** [May 19, 2022, 8:43am UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/3 "2022-05-19T08:43:39Z")

</div>

The version of VitXi I’m running is 1.1.0-2.  
When I try to open that link I am redirected to [https://devel.vitalpbx.com:8089/](https://devel.vitalpbx.com:8089/) website which can’t be reached

---

<div class="post-metadata">

**Author:** ![PitzKey](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/pitzkey/32/420_2.png) [@PitzKey](https://forums.vitalpbx.org/u/PitzKey)\
**Post date:** [May 19, 2022, 8:45am UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/4 "2022-05-19T08:45:23Z")

</div>

Update to the latest version 1.1.0-3 and see if the issue persists.

---

<div class="post-metadata">

**Author:** ![kinn](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/k/d6d6ee/32.png) [@kinn](https://forums.vitalpbx.org/u/kinn)\
**Post date:** [May 19, 2022, 9:15am UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/5 "2022-05-19T09:15:42Z")

</div>

It didn’t help, the issue has still persisted

---

<div class="post-metadata">

**Author:** ![PitzKey](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/pitzkey/32/420_2.png) [@PitzKey](https://forums.vitalpbx.org/u/PitzKey)\
**Post date:** [May 19, 2022, 10:33am UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/6 "2022-05-19T10:33:56Z")

</div>

What happens when you go to [https://your.domain:8089](https://your.domain:8089) ?

---

<div class="post-metadata">

**Author:** ![kinn](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/k/d6d6ee/32.png) [@kinn](https://forums.vitalpbx.org/u/kinn)\
**Post date:** [May 19, 2022, 11:20am UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/7 "2022-05-19T11:20:40Z")

</div>

When I go to [https://domain:8089](https://domain:8089) I got 404 response, not found, the request URL was not found on this server, Asterisk/18.10.0

---

<div class="post-metadata">

**Author:** ![maynor](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@maynor](https://forums.vitalpbx.org/u/maynor)\
**Post date:** [May 19, 2022, 3:01pm UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/8 "2022-05-19T15:01:01Z")

</div>

Go to SIP Settings and disable WebSocket if it is enabled.

Then reload the firewall:

`firewall-cmd --reload`

Finally, reload asterisk:

asterisk -rx “core reload”.

Try to connect to VitXi and check if the extension is registered correctly.

---

<div class="post-metadata">

**Author:** ![kinn](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/k/d6d6ee/32.png) [@kinn](https://forums.vitalpbx.org/u/kinn)\
**Post date:** [May 20, 2022, 7:10am UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/9 "2022-05-20T07:10:51Z")

</div>

I enabled and then disabled Websocket in SIP settings.

Then I reloaded firewall and asterisk.

Unfortunately, it didn’t work.

Finally, I went to check if the extension is registered correctly and I noticed that there are no “Send Push” and “VitXi Client” switchers. Is that matter?

 ![image](https://forums.vitalpbx.org/uploads/default/original/1X/34a6b063641c2f9d09c560bae5414310e8e6c7b9.png)

I was following this video to set up the extension, where these switchers are present:

[![](https://forums.vitalpbx.org/uploads/default/original/2X/c/c701b02094ff2ccc02aca8faa2bf9f2eb2e23ede.jpeg "Preparations to Install VitXi WebRTC on VitalPBX") ](https://www.youtube.com/watch?v=tevaHQVYIhE&t=820s)

---

<div class="post-metadata">

**Author:** ![maynor](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@maynor](https://forums.vitalpbx.org/u/maynor)\
**Post date:** [May 20, 2022, 2:53pm UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/10 "2022-05-20T14:53:35Z")

</div>

Check that you have installed the “VitXi Licensing Server” module

---

<div class="post-metadata">

**Author:** ![kinn](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/k/d6d6ee/32.png) [@kinn](https://forums.vitalpbx.org/u/kinn)\
**Post date:** [May 23, 2022, 7:44am UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/11 "2022-05-23T07:44:15Z")

</div>

I can’t believe I missed that. Thank you, now it works right!

---

<div class="post-metadata">

**Author:** ![Mario\_Gutierrez](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/mario_gutierrez/32/609_2.png) [@Mario\_Gutierrez](https://forums.vitalpbx.org/u/Mario_Gutierrez)\
**Post date:** [May 27, 2022, 9:08pm UTC](https://forums.vitalpbx.org/t/the-connection-could-not-be-established-to-my-pbx/1348/12 "2022-05-27T21:08:33Z")

</div>

Hello, I have VitXi Licensing Server module installed, and error persist, and just per 2 or 3 seconds this i got this screen and then start working again.
