# Video call not working

**URL:** <https://openvidu.discourse.group/t/video-call-not-working/4033>\
**Category:** How to implement?\
**Tags:** v2\
**Created:** [June 17, 2022, 7:40am UTC](https://openvidu.discourse.group/t/video-call-not-working/4033 "2022-06-17T07:40:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aksis\_Selim](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/aksis_selim/32/1823_2.png) [@Aksis\_Selim](https://openvidu.discourse.group/u/Aksis_Selim)\
**Post date:** [June 17, 2022, 7:40am UTC](https://openvidu.discourse.group/t/video-call-not-working/4033/1 "2022-06-17T07:40:51Z")

</div>

Hello,

Does the public ip address of the openvidu server have to be the same as the domain name ip address that I have configured in order for the video call process to be successful?

---

<div class="post-metadata">

**Author:** ![Aksis\_Selim](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/aksis_selim/32/1823_2.png) [@Aksis\_Selim](https://openvidu.discourse.group/u/Aksis_Selim)\
**Post date:** [June 17, 2022, 7:48am UTC](https://openvidu.discourse.group/t/video-call-not-working/4033/2 "2022-06-17T07:48:09Z")

</div>

There is no double-sided image. In such cases, I ping the domain name address and enter the ip address I have received by manually changing it in the coturn ip automatic section. This time it didn’t work.  
Does the server public ip address have to be the same as the domain name ip address?

---

<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:** [June 20, 2022, 4:22pm UTC](https://openvidu.discourse.group/t/video-call-not-working/4033/3 "2022-06-20T16:22:19Z")

</div>

Yes.

The domain name configured at `DOMAIN_OR_PUBLIC_IP` should be the same domain used by the clients (Browsers or native apps).

Was that your question?

---

<div class="post-metadata">

**Author:** ![Aksis\_Selim](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/aksis_selim/32/1823_2.png) [@Aksis\_Selim](https://openvidu.discourse.group/u/Aksis_Selim)\
**Post date:** [June 22, 2022, 10:50am UTC](https://openvidu.discourse.group/t/video-call-not-working/4033/4 "2022-06-22T10:50:57Z")

</div>

Should the domain name ip address be the same as the openvidu server coturn ip installed on the ubuntu server?

---

<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:** [June 22, 2022, 9:14pm UTC](https://openvidu.discourse.group/t/video-call-not-working/4033/5 "2022-06-22T21:14:31Z")

</div>

What do you mean by “the same”.

What I can do is to give you some affirmations:

- `DOMAIN_OR_PUBLIC_IP` should point to a Public IP. (Or an IP reachable by browsers/clients)
- `COTURN_IP` should be the same public IP pointed by `DOMAIN_OR_PUBLIC_IP` (or an IP reachable by browsers/clients).

These affirmations are valid for:

- OpenVidu CE
- OpenVidu PRO and ENTERPISE with `OPENVIDU_PRO_COTURN_IN_MEDIA_NODES=false`

---

<div class="post-metadata">

**Author:** ![Aksis\_Selim](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/aksis_selim/32/1823_2.png) [@Aksis\_Selim](https://openvidu.discourse.group/u/Aksis_Selim)\
**Post date:** [June 23, 2022, 3:28pm UTC](https://openvidu.discourse.group/t/video-call-not-working/4033/6 "2022-06-23T15:28:45Z")

</div>

Sample; The customer publicly serves the media server and has received the address media.akyatirim.com.tr to be used for access, and the ip address of this domain name is 152.89.65.75.  
I installed the media server on ubuntu and assume coturn ip 222.15.68.78. I entered [media.akyatirim.com](http://media.akyatirim.com) in the .env file in the configuration. However, domain name ip address and coturn ip are different from each other in this case.  
In this case, will there be a problem with the video call?  
Should I ask the client to match the public ip address with the coturn ip?  
I had such a problem before, because the customer’s public address and coturn ip were different, access was not provided.

---

<div class="post-metadata">

**Author:** ![Aksis\_Selim](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/aksis_selim/32/1823_2.png) [@Aksis\_Selim](https://openvidu.discourse.group/u/Aksis_Selim)\
**Post date:** [June 23, 2022, 3:39pm UTC](https://openvidu.discourse.group/t/video-call-not-working/4033/7 "2022-06-23T15:39:17Z")

</div>

By the way, I would like to share with you a problem I had today.  
No problem with video calling from outside. But there is access in the internal network, but I can’t get a picture.  
The following ports are open from a server with IIS Server installed to the media server server. I’m having a problem with the internal network. Why do you think it might?  
3478-Clients Media Server Access  
2083-Clients Media Server Access  
443-Backend Access

I share with you an image from the topology.

 ![Screenshot_2](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/2/27f7d74a5da13f3b08e70747a5b70b45074ffabe.jpeg)

---

<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:** [June 23, 2022, 4:49pm UTC](https://openvidu.discourse.group/t/video-call-not-working/4033/8 "2022-06-23T16:49:24Z")

</div>

Sorry. I can’t help you with internal network use case problems… What I can suggest is, if your clients may access the same STUN/TURN server with multiple IPs, you can do this (But you need version 2.22.0 or greater):

**Configure multiple ICE Servers** :

1. Get the shared secret of COTURN in `/opt/openvidu/coturn/shared-secret-key` (This is used to create temporal stateless TURN credentials):

```auto
cat /opt/openvidu/coturn/shared-secret-key | grep 'COTURN_SHARED_SECRET_KEY=' | cut -d'=' -f2

```

1. Configure multiple WebRTC Ice Servers using this property:

```auto
OPENVIDU_WEBRTC_ICE_SERVERS=["url=turns:<PUBLIC_IP_1>:3478,staticAuthSecret=<TURN_STATIC_AUTH_SECRET>", "url=turns:<PUBLIC_IP_2>:3478,staticAuthSecret=<TURN_STATIC_AUTH_SECRET>"]

```

- Where `PUBLIC_IP_1` and `PUBLIC_IP_2` are IPs reachig browsers. One IP at least should be reachable. (Depending on the network one or the orher should work).
- Where `TURN_STATIC_AUTH_SECRET` is the secret obtained in step 1.

You can also configure it programatically or configure your own Coturn and configure it in your app. More info about that [here](https://docs.openvidu.io/en/2.22.0/deployment/allow-users-behind-firewalls/#configure-openvidu-to-use-the-new-turn-server-deployed_1)

BTW, port 2083 is not related with OpenVidu AFAIK
