# Webrtc Publish failed. Unable to connect

**URL:** <https://community.wowza.com/t/webrtc-publish-failed-unable-to-connect/92684>\
**Category:** Wowza Streaming Engine\
**Created:** [January 14, 2021, 9:58pm UTC](https://community.wowza.com/t/webrtc-publish-failed-unable-to-connect/92684 "2021-01-14T21:58:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chihwen\_chuang](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@chihwen\_chuang](https://community.wowza.com/u/chihwen_chuang)\
**Post date:** [January 14, 2021, 9:58pm UTC](https://community.wowza.com/t/webrtc-publish-failed-unable-to-connect/92684/1 "2021-01-14T21:58:47Z")

</div>

Hello,  
I setup WebRTC configuration following this post [https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine](https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine),

When my iphone or android uses wifi, it can be published successfully.  
But when my mobile phone uses Mobile network (4G), it throw error  
**Publish failed. Unable to connect.**

version : WowzaStreamingEngine-4.8.8.01

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [January 15, 2021, 6:41pm UTC](https://community.wowza.com/t/webrtc-publish-failed-unable-to-connect/92684/2 "2021-01-15T18:41:34Z")

</div>

Stupid question; but it’s not because your Wowza Server is on the same local network as the WiFi, and with 4G you need the public IP addr and probably NAT to access the server?

---

<div class="post-metadata">

**Author:** ![chihwen\_chuang](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@chihwen\_chuang](https://community.wowza.com/u/chihwen_chuang)\
**Post date:** [January 15, 2021, 7:38pm UTC](https://community.wowza.com/t/webrtc-publish-failed-unable-to-connect/92684/3 "2021-01-15T19:38:52Z")

</div>

NO, wowza server is not local.  
can you use 4g publish webrtc?

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [January 16, 2021, 12:46pm UTC](https://community.wowza.com/t/webrtc-publish-failed-unable-to-connect/92684/4 "2021-01-16T12:46:06Z")

</div>

I wouldn’t know why not unless your mobile provider has specifically blocked certain protocols or services which is unlikely. This sounds more like a network or firewall issue. If your Wowza Server is deployed in the cloud, could it be that there’s a firewall or security group that needs review?
