# How to map UDP ports to Wowza server?

**URL:** https://community.wowza.com/t/how-to-map-udp-ports-to-wowza-server/37139
**Category:** Wowza Streaming Engine
**Created:** [September 1, 2011, 2:51pm UTC](https://community.wowza.com/t/how-to-map-udp-ports-to-wowza-server/37139 "2011-09-01T14:51:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![wim\_glenn](https://avatars.discourse-cdn.com/v4/letter/w/ad7895/32.png) [@wim\_glenn](https://community.wowza.com/u/wim_glenn)
#### Post date: [September 1, 2011, 2:51pm UTC](https://community.wowza.com/t/how-to-map-udp-ports-to-wowza-server/37139/1 "2011-09-01T14:51:55Z")

</div>

Hello,

I’m trying to play RTSP stream from Wowza server. I can play the stream with x-vlc-plugin embedded in an html file, but the negotiation time before the stream plays is always quite long (~7-8 seconds) and the latency of the stream is large, probably 4-5 seconds (way behind the rtmp stream playing in JWPlayer which is about 1-2 seconds). I thought rtsp should be faster than rtmp, because it should be using UDP for transport whereas rtmp is stuck with TCP. But when I fire up wireshark it looks like rtsp is going all over TCP anyway.

On the guides here it says:

_To stream to RTSP/RTP be sure UDP ports 0-65535 are open and properly mapped to the server running Wowza Media Server_

Not sure about how to go about this. Does it mean open on the client local machine, on the ADSL router, or both?

1. How can I open UDP ports 0-65535 and map them to wowza server?

2. How can I verify whether or not a UDP port is open and mapped to wowza server?

I would also be interested to know if there are any other popular players that I can embed in html which will work well with wowza server rtsp stream, because I’m finding the vlc plugin a bit clunky (video corrupts and stuff, hard to configure).

---

<div class="post-metadata">

### Author: ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)
#### Post date: [August 31, 2011, 11:05pm UTC](https://community.wowza.com/t/how-to-map-udp-ports-to-wowza-server/37139/2 "2011-08-31T23:05:19Z")

</div>

Hi wim.glenn,

That sentence is a little ambiguous. Which guide is that? See the [Wowza User Guide](https://www.wowza.com/resources/WowzaMediaServer_UsersGuide.pdf) under the section “Ports Used For Streaming”.

You can probably ignore any notion of “mapping”.

If you’re going to stream to a flash player why not just use RTMP?

You can use network administration tools like netcat, to make a server that listens on UDP ports, and thus figure out if you have a firewall blocking that port. Otherwise you can look at your firewall rules.

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [September 1, 2011, 3:38am UTC](https://community.wowza.com/t/how-to-map-udp-ports-to-wowza-server/37139/3 "2011-09-01T03:38:33Z")

</div>

It sounds like the UDP ports are blocked and VLC is trying to stream over UDP and failing then switching to TCP.

Charlie

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [September 2, 2011, 5:48am UTC](https://community.wowza.com/t/how-to-map-udp-ports-to-wowza-server/37139/4 "2011-09-02T05:48:08Z")

</div>

What do the Wowza Server logs look like when you try to play back the stream using RTSP? If you are trying play the stream using VLC be sure the:

Tools-\>Preferences-\>Input & Codecs-\>Live 555 stream transport

Is set to **HTTP (default)**. Which is a bit of a misleading name but that will instruct VLC to try UDP first.

Charlie

---

<div class="post-metadata">

### Author: ![wim\_glenn](https://avatars.discourse-cdn.com/v4/letter/w/ad7895/32.png) [@wim\_glenn](https://community.wowza.com/u/wim_glenn)
#### Post date: [September 2, 2011, 4:47pm UTC](https://community.wowza.com/t/how-to-map-udp-ports-to-wowza-server/37139/5 "2011-09-02T16:47:27Z")

</div>

Hi randall and charlie, thanks for your replies…

The guide I was referring to is here:

[https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder))

And the sentence is in the section headed **To play using RTSP/RTP player or device**. I will check with a combination of `nmap` and `nc` to make sure ports UDP 6970-9999 aren’t blocked.

I am wanting to try RTSP as opposed to RTMP because as far as I’m aware RTMP must go over TCP, but RTSP can be configured to go over UDP and/or TCP. For performance reasons and aiming for lowest possible latency, then RTSP seems to be a better choice for video transport, correct me if I’m wrong. There is also RTMFP, which I think has streaming video over UDP, but currently it seems only available in Flash Media Server 4 and I think the price tags on those products would discourage my boss greatly 🙂

---

<div class="post-metadata">

### Author: ![Yusuf\_EROL](https://avatars.discourse-cdn.com/v4/letter/y/ea5d25/32.png) [@Yusuf\_EROL](https://community.wowza.com/u/Yusuf_EROL)
#### Post date: [December 7, 2017, 4:53pm UTC](https://community.wowza.com/t/how-to-map-udp-ports-to-wowza-server/37139/6 "2017-12-07T16:53:18Z")

</div>

You can not listen to the broadcast from UDP 8002 port on wowza media server
