• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • General Forum /
avatar image
Question by Keith Jones · Aug 25, 2009 at 03:46 PM ·

Baffled - Trying to get Wowza to listen on Port 1935

OK, after a fresh uninstall/reinstall (including redownloading 1.7.2 rpm package) I cannot get Wowza to listen on Port 1935. I have started Wowza as a Standalone and as a service. Here is my latest access log:

#Version: 1.0
#Start-Date: 2009-08-25 10:36:48 CDT
#Software: Wowza Media Server Pro 1.7.2 build12107
#Date: 2009-08-25
#Fields: x-severity	x-category	x-event	date	time	c-client-id	c-ip	c-port	cs-bytes	sc-bytes	x-duration	x-sname	x-stream-id	sc-stream-bytes	cs-stream-bytes	x-file-size	x-file-length	x-ctx	x-comment
INFO	server	server-start	2009-08-25	10:36:48	-	-	-	-	-	0.326	-	-	-	-	-	-	Wowza Media Server Pro Unlimited 1.7.2 build12107	-
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.328	-	-	-	-	-	-	-	Serial number: XXXXX-XXXXX-XXXXX-XXXXX-YKUUA
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.328	-	-	-	-	-	-	-	Maximum connections: Unlimited
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.331	-	-	-	-	-	-	-	Hardware Available Processors: 2
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.332	-	-	-	-	-	-	-	Hardware Physical Memory: 1599MB/4054MB
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.332	-	-	-	-	-	-	-	Hardware Swap Space: 1992MB/1992MB
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.333	-	-	-	-	-	-	-	Max File Descriptor Count: 1024
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.333	-	-	-	-	-	-	-	Open File Descriptor Count: 31
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.334	-	-	-	-	-	-	-	OS Name: Linux
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.334	-	-	-	-	-	-	-	OS Version: 2.6.18-128.2.1.el5PAE
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.334	-	-	-	-	-	-	-	OS Architecture: i386
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.335	-	-	-	-	-	-	-	Java Name: Java HotSpot(TM) Server VM
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.335	-	-	-	-	-	-	-	Java Vendor: Sun Microsystems Inc.
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.336	-	-	-	-	-	-	-	Java Version: 1.6.0_15
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.336	-	-	-	-	-	-	-	Java VM Version: 14.1-b02
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.336	-	-	-	-	-	-	-	Java Spec Version: 1.6
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.337	-	-	-	-	-	-	-	Java Home: /opt/jdk1.6.0_15/jre
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.337	-	-	-	-	-	-	-	Java Max Heap Size: 739MB
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.337	-	-	-	-	-	-	-	Java Architecture: 32
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.36	-	-	-	-	-	-	-	CMDInterface now listening: [any]:8083
INFO	server	comment	2009-08-25	10:36:48	-	-	-	-	-	0.41	-	-	-	-	-	-	-	vhost home directory: /usr/local/WowzaMediaServerPro
INFO	vhost	vhost-start	2009-08-25	10:36:49	-	-	-	-	-	0.897	-	-	-	-	-	-	_defaultVHost_	-
INFO	vhost	comment	2009-08-25	10:36:49	-	-	-	-	-	0.997	-	-	-	-	-	-	_defaultVHost_	RTMP/RTMPT bind attempt ([any]:1935)
INFO	vhost	comment	2009-08-25	10:36:49	-	-	-	-	-	0.998	-	-	-	-	-	-	_defaultVHost_	Bind successful ([any]:1935)


I ran the following Linux command to check to see if the port is open:

nmap -sT O localhost


This shows that the port is open for RTMP i.e.

1935/tcp open rtmp

However when going to the browser http://myserverip:1935 it comes up

"can't establish a connection to the server at myserverip:1935"

This is the second time I've uninstalled and reinstalled. I've checked the forums, the documentation and still can't figure out what's going on.

Any help would be greatly appreciated! Thanks in advance.
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Chris Trainor · Aug 25, 2009 at 02:56 PM

Are you sure there are no firewalls in the way?

Do a netstat -lp you should see a binding *:1935 owned by a java process. If that's the case, then it's listening and there's something network related in the way. (local firewall, external firewall, ipchains, etc).

For example here's what my output looks like on my Wowza 2 demo box:



wowza1:/usr/local/WowzaMediaServer/logs# netstat -lp

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name

tcp 0 0 *:1935 *:* LISTEN 7030/java

tcp 0 0 *:8083 *:* LISTEN 7030/java

tcp 0 0 *:ssh *:* LISTEN 2340/sshd

tcp 0 0 *:https *:* LISTEN 7030/java

tcp 0 0 *:36220 *:* LISTEN 7030/java

--CHris
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Keith Jones · Aug 25, 2009 at 09:29 PM 0
Share
Thanks for the post. I'm not getting port 1935 showing open with your instructions. I just realized that running the nmap -sT O localhost command shows the port open on localhost only. I've put in a ticket to the dedicated server hosting company to open up the port in the firewall.

I'm assuming that's the issue. Strange that it was closed though as I had wowza up and running for a couple of months before it stopped working.

If they don't get it resolved is there a specific command I can use to open the port myself?

I'm running RedHat Centos 5. Thanks.
avatar image

Answer by Charlie Good · Aug 25, 2009 at 01:36 PM

It could be closed under iptables. The command to open port 1935 is:

iptables -I INPUT -p tcp --destination-port 1935 -j ACCEPT


It could also be closed on an external firewall that you probably do not have access to.

Charlie
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Keith Jones · Aug 25, 2009 at 09:51 PM 0
Share
Thanks, Charlie. I had them open the port for incoming and outgoing on the firewalls and all is well now. I am still baffled as to how it was closed after working fine but at least it's working now. Thanks again!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Delay in playing the video in VLC from wowza url 1 Answer

streamlock 1 Answer

A problem about LiveStreamDvrRecorderBase[dvr/_definst_/11201.stream] : Timeout.. 3 Answers

Change protocol from rtmp to http. 1 Answer

Few question i need help with. 1 Answer

Hot Topics
  • AWS Hosting
  • Mobile SDK
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Resellers
  • Find a Reseller
  • Reseller Portal
  • Become a Reseller
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Partners
  • Contact Us
Stay Connected
Get Monthly Newsletter
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges