# IPV6 Support : Openvidu not accessible from IPV6 Address

**URL:** <https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760>\
**Category:** Issues with deployment\
**Tags:** v2\
**Created:** [August 9, 2020, 1:03pm UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760 "2020-08-09T13:03:29Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinay](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vinay/32/702_2.png) [@Vinay](https://openvidu.discourse.group/u/Vinay)\
**Post date:** [August 9, 2020, 1:03pm UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/1 "2020-08-09T13:03:29Z")

</div>

My Hosting Provider gives me IPV6 Only. I’m not able to access openvidu server from IPV6. Can anyone help?  
I’ve deployed openvidu on Ubuntu 20.04 using on-premise docker instructions.

---

<div class="post-metadata">

**Author:** ![vipin\_mishra](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vipin_mishra/32/32_2.png) [@vipin\_mishra](https://openvidu.discourse.group/u/vipin_mishra)\
**Post date:** [August 9, 2020, 2:22pm UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/2 "2020-08-09T14:22:54Z")

</div>

use domin name or subdomain

---

<div class="post-metadata">

**Author:** ![Vinay](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vinay/32/702_2.png) [@Vinay](https://openvidu.discourse.group/u/Vinay)\
**Post date:** [August 9, 2020, 2:54pm UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/3 "2020-08-09T14:54:00Z")

</div>

I’m using a domain name, but it shows connection refused while trying to access it.  
The ssh port is accessible, but none of the openvidu ports are accessible.

---

<div class="post-metadata">

**Author:** ![vipin\_mishra](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vipin_mishra/32/32_2.png) [@vipin\_mishra](https://openvidu.discourse.group/u/vipin_mishra)\
**Post date:** [August 9, 2020, 4:05pm UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/4 "2020-08-09T16:05:03Z")

</div>

can you provide public ip or domain

---

<div class="post-metadata">

**Author:** ![Vinay](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vinay/32/702_2.png) [@Vinay](https://openvidu.discourse.group/u/Vinay)\
**Post date:** [August 9, 2020, 4:55pm UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/5 "2020-08-09T16:55:38Z")

</div>

[openvidutest.smartsmith.com](http://openvidutest.smartsmith.com)

---

<div class="post-metadata">

**Author:** ![vipin\_mishra](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vipin_mishra/32/32_2.png) [@vipin\_mishra](https://openvidu.discourse.group/u/vipin_mishra)\
**Post date:** [August 9, 2020, 7:04pm UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/6 "2020-08-09T19:04:33Z")

</div>

@Vinay  
Both ports are not accessible 80 and 443  
which version are using CE or PRO  
And share .env ,openvidu and nginx logs

---

<div class="post-metadata">

**Author:** ![Vinay](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vinay/32/702_2.png) [@Vinay](https://openvidu.discourse.group/u/Vinay)\
**Post date:** [August 10, 2020, 12:06pm UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/7 "2020-08-10T12:06:04Z")

</div>

I’m using CE. I tested, SSH is open.

I did some testing, I can access 5443 port, and dashboard is showing up. But I cannot connect to session. It gives error.  
When using REST API, I get Connection Refused error. I cannot connect to port 443.  
In .env file, I’m using default port 80 and 443  
Please help Me.

---

<div class="post-metadata">

**Author:** ![Vinay](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vinay/32/702_2.png) [@Vinay](https://openvidu.discourse.group/u/Vinay)\
**Post date:** [August 10, 2020, 12:10pm UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/8 "2020-08-10T12:10:08Z")

</div>

I checked nginx logs, The certificate generation also failed. The error was connection refused.

---

<div class="post-metadata">

**Author:** ![vipin\_mishra](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vipin_mishra/32/32_2.png) [@vipin\_mishra](https://openvidu.discourse.group/u/vipin_mishra)\
**Post date:** [August 10, 2020, 1:00pm UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/9 "2020-08-10T13:00:07Z")

</div>

please logs if you don’t want publicly share with me private

---

<div class="post-metadata">

**Author:** ![vipin\_mishra](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vipin_mishra/32/32_2.png) [@vipin\_mishra](https://openvidu.discourse.group/u/vipin_mishra)\
**Post date:** [August 10, 2020, 7:52pm UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/10 "2020-08-10T19:52:02Z")

</div>

This problem cause is the IPV6 need docker by enabling it

> **[Enable IPv6 support](https://docs.docker.com/config/daemon/ipv6/)**
>
> Before you can use IPv6 in Docker containers or swarm services, you need to enable IPv6 support in the Docker daemon. Afterward, you can choose to use either IPv4 or...

  
So i think please close it @Vinay @cruizba  
Thanks

---

<div class="post-metadata">

**Author:** ![Vinay](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vinay/32/702_2.png) [@Vinay](https://openvidu.discourse.group/u/Vinay)\
**Post date:** [August 11, 2020, 4:06am UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/11 "2020-08-11T04:06:19Z")

</div>

The problem seems to be IPV6 Support in Docker. But, by enabling IPV6 Support, OpenVidu Doesn’t directly start using IPV6. We have to do additional steps to make it work. I’m still trying to make it work. This guide is very helpfull for that :  
[Medium : How to enable IPv6 for Docker containers on Ubuntu 18.04](https://medium.com/@skleeschulte/how-to-enable-ipv6-for-docker-containers-on-ubuntu-18-04-c68394a219a2)

---

<div class="post-metadata">

**Author:** ![Vinay](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vinay/32/702_2.png) [@Vinay](https://openvidu.discourse.group/u/Vinay)\
**Post date:** [August 11, 2020, 6:43am UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/12 "2020-08-11T06:43:33Z")

</div>

It seems like the docker does not support IPV6 on Host mode, it only supports on Bridge mode.  
Openvidu Containers are set on Host mode. Can someone help me in setting a static IPV6 address to OpenVidu Server?

---

<div class="post-metadata">

**Author:** ![micael.gallego](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/micael.gallego/32/2_2.png) [@micael.gallego](https://openvidu.discourse.group/u/micael.gallego)\
**Post date:** [August 11, 2020, 7:59am UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/13 "2020-08-11T07:59:08Z")

</div>

Kurento Media Server uses network host because it needs to use a full range of ports in the host machine.

For that reason, the rest of the services are also configured with network host.

We don’t have experience working on IPv6 only networks. You will have to try yourself.

Regards

---

<div class="post-metadata">

**Author:** ![Vinay](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vinay/32/702_2.png) [@Vinay](https://openvidu.discourse.group/u/Vinay)\
**Post date:** [August 11, 2020, 8:56am UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/14 "2020-08-11T08:56:14Z")

</div>

I’m unable to make it accessible through IPV6 Network. Seems like impossible to me. Considering growing popularity of IPV6, it seems important that there should have been some guide to make it work.  
Can someone help me in this? @micael.gallego

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [August 11, 2020, 9:56am UTC](https://openvidu.discourse.group/t/ipv6-support-openvidu-not-accessible-from-ipv6-address/1760/15 "2020-08-11T09:56:37Z")

</div>

Maybe the problem is not IPV6 and it is other misconfiguration. Please, if you can, share with us your .env configuration. In this way, if we have access to an environment that give us ipv6 machines, we can test your environment. Also, if you can share nginx logs and openvidu logs, it would be helpful.
