# Video not appearing from external network

**URL:** <https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [October 31, 2022, 1:29am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271 "2022-10-31T01:29:47Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [October 31, 2022, 1:29am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/1 "2022-10-31T01:29:47Z")

</div>

Video not appearing from external network

We built a server on the internal network with OnPremise.  
Video works well between internal networks, but  
Users who connect from an external network will not see the video.

The router is using iptime, is it a router problem?  
I wonder what the problem is.

Also, what is the cause of your camera video stopping when you are alone in the room?

---

<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:** [October 31, 2022, 9:45am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/2 "2022-10-31T09:45:05Z")

</div>

Hello @seungsun , what instructions did you follow to deploy?

Take into account that you may need to expose some ports in your router and configure them to enroute that traffic to your OpenVidu Server machine.  
[https://docs.openvidu.io/en/2.23.0/deployment/ce/on-premises/#1-prerequisites](https://docs.openvidu.io/en/2.23.0/deployment/ce/on-premises/#1-prerequisites)  
Minimal ports for everything to work are 443/TCP, 3478/TCP and 3478/UDP.  
40000-65535/TCP and 40000-65535/UDP are always recommended for users to directly connect to the media server without using TURN.

> Also, what is the cause of your camera video stopping when you are alone in the room?

When you are alone? We do not have any movement recognition in OpenVidu

---

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [October 31, 2022, 11:08am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/3 "2022-10-31T11:08:25Z")

</div>

The allowed ports are:  
TCP : 80  
TCP : 443  
UDP : 10000  
TCP : 22  
TCP : 5349  
UDP : 3478  
TCP : 3478  
TCP : 4443 ← OpenVidu WebPage Port  
TCP : 8081 ← Custom Page Port (Using…)

My guess is that the reason the camera freezes is the poor performance of the mobile device. Does it have any effect?

Freezing is severe on Galaxy Tab s6 lite.

---

<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:** [October 31, 2022, 11:19am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/4 "2022-10-31T11:19:13Z")

</div>

Well, maybe, also it is important to configure the app in the mobile so if you turn off the screen the application can still run in the backround.

1. Are you using OpenVidu CE?
2. Did you deploy using these instructions?: [On premises - OpenVidu Docs](https://docs.openvidu.io/en/2.23.0/deployment/ce/on-premises/)
3. What is the error you are having when trying to reach OpenVidu externally?

---

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [October 31, 2022, 11:26am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/5 "2022-10-31T11:26:35Z")

</div>

1. Yse. I use CE version.
2. Yes.Built as described.
3. There is no error message and the camera screen does not appear.

---

<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:** [October 31, 2022, 11:30am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/6 "2022-10-31T11:30:40Z")

</div>

Can’t you see any error from web console?

---

<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:** [October 31, 2022, 11:34am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/7 "2022-10-31T11:34:14Z")

</div>

Let’s try this:

1. Open your app via public endpoint in firefox.
2. Try to enter into a session.
3. Open another tab in firefox with `about:webrtc`. You will see something like this:  
 ![image](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/2/2fedcfc0dd900458dbcbfa54bc45ccc4ee968ecb.png)
4. Does this iceServer URI of the previous image correspond to your public IP?

---

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [October 31, 2022, 11:34am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/8 "2022-10-31T11:34:54Z")

</div>

Yes. No error message is displayed.  
Can the firewall of the external network block it?

---

<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:** [October 31, 2022, 11:35am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/9 "2022-10-31T11:35:48Z")

</div>

Please, check also my previous message about firefox, just to be sure the turn server reachs your browser correctly.

---

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [October 31, 2022, 11:40am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/10 "2022-10-31T11:40:24Z")

</div>

As a result of checking the TURN server you mentioned in Firefox, the server’s public IP is correct.

---

<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:** [October 31, 2022, 11:45am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/11 "2022-10-31T11:45:12Z")

</div>

Then, maybe is a firewall problem…

Check that at least ports 443/TCP (4443 if you are using that), 3478/UDP and 3478/TCP are reachable from the outside.

---

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [October 31, 2022, 11:47am UTC](https://openvidu.discourse.group/t/video-not-appearing-from-external-network/4271/12 "2022-10-31T11:47:20Z")

</div>

I’ll check it. thank you
