# Default port setting

**URL:** <https://community.wowza.com/t/default-port-setting/34168>\
**Category:** Wowza Streaming Engine\
**Created:** [March 17, 2010, 2:57pm UTC](https://community.wowza.com/t/default-port-setting/34168 "2010-03-17T14:57:03Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lewei\_yan](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@Lewei\_yan](https://community.wowza.com/u/Lewei_yan)\
**Post date:** [March 17, 2010, 2:57pm UTC](https://community.wowza.com/t/default-port-setting/34168/1 "2010-03-17T14:57:03Z")

</div>

Hi,

I am wondering if I can use port 80 instead of using 1935, as 1935 might be blocked by firewall and how can i configure port 80 to be the default port?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 17, 2010, 12:20pm UTC](https://community.wowza.com/t/default-port-setting/34168/2 "2010-03-17T12:20:45Z")

</div>

Modify /conf/VHost.xml /HostPort /Port “1935”. Change to “1935,80” or just “80”

But for RTMP you will have to add port 80 explicitly to connect, because 1935 is default port:

```auto
rtmp://[wowza-address]:80/yourApp

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 17, 2010, 11:52pm UTC](https://community.wowza.com/t/default-port-setting/34168/3 "2010-03-17T23:52:05Z")

</div>

The UDP range 6970 - 9999 is for RTP streaming.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 18, 2010, 5:53pm UTC](https://community.wowza.com/t/default-port-setting/34168/4 "2010-03-18T17:53:29Z")

</div>

It is a known issue, not sure if is resolved. Take a look at this discussion:

[https://www.wowza.com/forums/showthread.php?t=5541&page=4](https://www.wowza.com/forums/showthread.php?t=5541&page=4)

Make sure you have the latest patch:

[http://wowza.com/devbuild.html](http://wowza.com/devbuild.html)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 18, 2010, 6:40pm UTC](https://community.wowza.com/t/default-port-setting/34168/5 "2010-03-18T18:40:38Z")

</div>

Yes, I think so. I’m not sure if there is a solution. I assume you have the latest build?

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 18, 2010, 8:21pm UTC](https://community.wowza.com/t/default-port-setting/34168/6 "2010-03-18T20:21:00Z")

</div>

Yes, change /conf/Server.xml /RTP /DatagramStartingPort

Richard

---

<div class="post-metadata">

**Author:** ![Lewei\_yan](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@Lewei\_yan](https://community.wowza.com/u/Lewei_yan)\
**Post date:** [March 18, 2010, 9:08am UTC](https://community.wowza.com/t/default-port-setting/34168/7 "2010-03-18T09:08:09Z")

</div>

Thank you Richard, I’ll try it out.

---

<div class="post-metadata">

**Author:** ![Lewei\_yan](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@Lewei\_yan](https://community.wowza.com/u/Lewei_yan)\
**Post date:** [March 18, 2010, 9:51am UTC](https://community.wowza.com/t/default-port-setting/34168/8 "2010-03-18T09:51:04Z")

</div>

Hi Richard,

I’ve tried it, but not working.

I assume the reason is my apache web server uses the port 80,

Is there any way to work around or I have to use other port (like 443)

---

<div class="post-metadata">

**Author:** ![Lewei\_yan](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@Lewei\_yan](https://community.wowza.com/u/Lewei_yan)\
**Post date:** [March 18, 2010, 10:54am UTC](https://community.wowza.com/t/default-port-setting/34168/9 "2010-03-18T10:54:12Z")

</div>

by the way, Wowza uses TCP right, if it does, can we change it to UDP?

---

<div class="post-metadata">

**Author:** ![Jeff\_Lee](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@Jeff\_Lee](https://community.wowza.com/u/Jeff_Lee)\
**Post date:** [March 17, 2010, 3:35pm UTC](https://community.wowza.com/t/default-port-setting/34168/10 "2010-03-17T15:35:02Z")

</div>

I see Wowza uses TCP1935 to transmit media data, right?

What about the UDP ports UDP 6970-9999. Are those ports used for transmitting media data?

Thanks

---

<div class="post-metadata">

**Author:** ![Jeff\_Lee](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@Jeff\_Lee](https://community.wowza.com/u/Jeff_Lee)\
**Post date:** [March 18, 2010, 7:18am UTC](https://community.wowza.com/t/default-port-setting/34168/11 "2010-03-18T07:18:54Z")

</div>

> The UDP range 6970 - 9999 is for RTP streaming.
> 
> Richard

When I request a live video by rtsp://my\_wowza\_srv:1935/rtplive/demoTVShows.sdp, I capture the packets with Wireshark and see the media data is sent to VLC via TCP port 1935. It’s not transmitted via UDP.

In the beginning, the UDP port 6980 and 6983 are used to talk with VLC but unreachable. So maybe it automatically rolls over to TCP transport?

The reason I raise this question is that I find my Blackberry Bold 9000 can’t play back the RTSP video mentioned above via Rogers 3G network, but works fine with WiFi. This may be because of the 3G network closes some ports, right?

---

<div class="post-metadata">

**Author:** ![Jeff\_Lee](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@Jeff\_Lee](https://community.wowza.com/u/Jeff_Lee)\
**Post date:** [March 18, 2010, 10:35am UTC](https://community.wowza.com/t/default-port-setting/34168/12 "2010-03-18T10:35:38Z")

</div>

Thanks Richard,

I think this is because the VLC negotiates with Wowza to use TCP, the so called RTSP/RTP interleaved, mode. They negotiate the UDP in the first place and fail, then they choose the TCP way.

But the BB can not negotiate to TCP mode so streaming to BB is always UDP, which is a problem in some 3G networks.

Am I right?

---

<div class="post-metadata">

**Author:** ![Jeff\_Lee](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@Jeff\_Lee](https://community.wowza.com/u/Jeff_Lee)\
**Post date:** [March 18, 2010, 12:15pm UTC](https://community.wowza.com/t/default-port-setting/34168/13 "2010-03-18T12:15:17Z")

</div>

Hi Richard,

I think I’m right. I tried another player with the same URL and Wowza sent media data via UDP instead of TCP this time. This means choosing UDP or TCP depends on the player’s ability by negotiation.

And can I change the UDP ports Wowsa uses to send media data? For example, I want to change 6970…9999 to 10500…11500? Is this possible? Thanks.

---

<div class="post-metadata">

**Author:** ![Sam\_Billings](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@Sam\_Billings](https://community.wowza.com/u/Sam_Billings)\
**Post date:** [May 11, 2023, 7:52am UTC](https://community.wowza.com/t/default-port-setting/34168/14 "2023-05-11T07:52:46Z")

</div>

Hey Jeff  
Could you find out how to chnage the udp port range from 6970-9999 to sth else?  
could you pls let me konw as well.

thank you
