# RTMP ports best practice

**URL:** <https://community.wowza.com/t/rtmp-ports-best-practice/35085>\
**Category:** Wowza Streaming Engine\
**Created:** [February 11, 2011, 1:03pm UTC](https://community.wowza.com/t/rtmp-ports-best-practice/35085 "2011-02-11T13:03:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_W](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Rob\_W](https://community.wowza.com/u/Rob_W)\
**Post date:** [February 11, 2011, 1:03pm UTC](https://community.wowza.com/t/rtmp-ports-best-practice/35085/1 "2011-02-11T13:03:00Z")

</div>

Currently I’m serving RTMP over port 1935: in terms of maximising availability is this the best port to use?

Does serving RTMP on port 80 cause any problems with squid/HTTP caches expecting HTTP over 80?

Finally, I take it that I can serve both RTMP and RTMPT over 80 simultaneously if this is the best option?

Any thoughts on this would be really appreciated 🙂

---

<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:** [February 11, 2011, 2:13pm UTC](https://community.wowza.com/t/rtmp-ports-best-practice/35085/2 "2011-02-11T14:13:23Z")

</div>

RTMP over port 80 is fine, just as good as the default port 1935 or any port as far as Wowza is concerned. Wowza must be able to bind to port 80. Change /conf/VHost.xml /HostPort /Port “1935” to “1935,80”. Then restart Wowza and check the access log startup lines to see that Wowza was able to bind to port 80. You can specify an IpAddress in the HostPort instead of “\*” so Wowza binds to port 80 on a specific IP address.

Yes, you can use RTMP and RTMPT to different clients at the same time. It is best to try RTMP first, then rollover over to RTMPT:

[https://www.wowza.com/docs/how-to-set-up-protocol-rollover-with-actionscript](https://www.wowza.com/docs/how-to-set-up-protocol-rollover-with-actionscript))

Also, it is best to always use a port explicitly, whether it is default for that protocol or not. Because Flash 10+ will do its own internal protocol rollover (which you have no control over and takes a long time) if you don’t.

Port 443 is another good option, possibly slightly better than port 80 in some cases.

Richard

---

<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:** [February 12, 2011, 5:31am UTC](https://community.wowza.com/t/rtmp-ports-best-practice/35085/3 "2011-02-12T05:31:04Z")

</div>

What type of security are you looking for?

Charlie

---

<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:** [February 14, 2011, 12:14pm UTC](https://community.wowza.com/t/rtmp-ports-best-practice/35085/4 "2011-02-14T12:14:22Z")

</div>

I would suppose most attacks on port 80 are aimed at Apache or IIS. If Wowza is using port 80, those exploits shouldn’t be a threat.

Richard

---

<div class="post-metadata">

**Author:** ![Roman\_Pekarek](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@Roman\_Pekarek](https://community.wowza.com/u/Roman_Pekarek)\
**Post date:** [February 12, 2011, 1:53am UTC](https://community.wowza.com/t/rtmp-ports-best-practice/35085/5 "2011-02-12T01:53:04Z")

</div>

How secure is WOWZA ? Is secure to bind Wowza on port 80 ?

I see scanning and trying some exploits on my webservers in daily logs … Does wowza survive this attacks on port 80 ?

I have lot of feedbacks from clients , that they have closed port 1935 (closed everything other than 80,53,110,25) … Bind on port 80 will be great for all firewalled users …

---

<div class="post-metadata">

**Author:** ![Roman\_Pekarek](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@Roman\_Pekarek](https://community.wowza.com/u/Roman_Pekarek)\
**Post date:** [February 14, 2011, 10:49am UTC](https://community.wowza.com/t/rtmp-ports-best-practice/35085/6 "2011-02-14T10:49:42Z")

</div>

as I was writed before … Does Wowza survive attacks on appache ? isee lot of attacks on port 80 daily …

---

<div class="post-metadata">

**Author:** ![Roman\_Pekarek](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@Roman\_Pekarek](https://community.wowza.com/u/Roman_Pekarek)\
**Post date:** [February 14, 2011, 9:53pm UTC](https://community.wowza.com/t/rtmp-ports-best-practice/35085/7 "2011-02-14T21:53:05Z")

</div>

Great … Im switching into port 80 … 🙂
