# Trouble setting announced IP while deploying on render.

**URL:** <https://mediasoup.discourse.group/t/trouble-setting-announced-ip-while-deploying-on-render/6341>\
**Category:** Deployment & Scalability\
**Created:** [November 14, 2024, 4:29am UTC](https://mediasoup.discourse.group/t/trouble-setting-announced-ip-while-deploying-on-render/6341 "2024-11-14T04:29:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdNarayan07](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/adnarayan07/32/2719_2.png) [@AdNarayan07](https://mediasoup.discourse.group/u/AdNarayan07)\
**Post date:** [November 14, 2024, 4:29am UTC](https://mediasoup.discourse.group/t/trouble-setting-announced-ip-while-deploying-on-render/6341/1 "2024-11-14T04:29:37Z")

</div>

Hello, I have created a video conferencing application in mediasoup which works absolutely fine on localhost.

But I need to deploy it on render but services on render cannot be accessed by IP address, as answered by them:

“”"  
Hi Aditya,  
Services on Render cannot be accessed by an IP address. They must be accessed by a domain name, either the automatically provided sub-domain on the .onrender.com domain, or a Custom Domain of your own.  
“”"

I tried to set announcedAddress to `process.env.RENDER_EXTERNAL_URL`, which basically is the subdomain through which I can access the express app.

```auto
listenInfos: [
          {
            protocol: "udp",
            ip: '0.0.0.0',
            announcedAddress: process.env.RENDER_EXTERNAL_URL
          },
          {
            protocol: "tcp",
            ip: '0.0.0.0',
            announcedAddress: process.env.RENDER_EXTERNAL_URL
          }
        ]

```

But this doesn’t work either and as a result, the audio and video are all blank.

Does anyone have any solution as to how can I fix this?

Note, this project: [https://mediasoup-sfu-webrtc-video-rooms-kuv2.onrender.com/](https://mediasoup-sfu-webrtc-video-rooms-kuv2.onrender.com/) is a fork of the example on discourse docs [GitHub - Dirvann/mediasoup-sfu-webrtc-video-rooms: A simple video conferencing example using the mediasoup sfu](https://github.com/Dirvann/mediasoup-sfu-webrtc-video-rooms)

---

<div class="post-metadata">

**Author:** ![iamebuka](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/iamebuka/32/2665_2.png) [@iamebuka](https://mediasoup.discourse.group/u/iamebuka)\
**Post date:** [November 15, 2024, 7:34pm UTC](https://mediasoup.discourse.group/t/trouble-setting-announced-ip-while-deploying-on-render/6341/2 "2024-11-15T19:34:21Z")

</div>

I had a similar problem and this is because render doesnt support udp traffic and so you cant send or receive streams thats why your videos are blank. In my case i had to move to an AWS ec2 instance. But you should be able to find someother host or cloud provider that supports udp traffic.

> **[Opening up a UDP port for incoming traffic](https://community.render.com/t/opening-up-a-udp-port-for-incoming-traffic/821)**
>
> I’m following this tutorial and it mentions that I need to open UDP port 3478 for incoming traffic on the STUN server. If I deploy an elixir/ phoenix app using Render, will I be able to open the port for incoming traffic? If so, how would I make...

---

<div class="post-metadata">

**Author:** ![AdNarayan07](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/adnarayan07/32/2719_2.png) [@AdNarayan07](https://mediasoup.discourse.group/u/AdNarayan07)\
**Post date:** [November 16, 2024, 7:15am UTC](https://mediasoup.discourse.group/t/trouble-setting-announced-ip-while-deploying-on-render/6341/3 "2024-11-16T07:15:24Z")

</div>

Can u suggest some?  
I tried to signup on oracle but it doesn let me signoup and the support is also no responding.  
Amazona nd google doesnt seem to have alway free tiers.
