Problem with port 1935

Hello,

I have the following problem with Wowza …

  1. I install the latest JDK on the server.

  2. Install the Wowza server on the linux machine

  3. Enter the serial and everything is ok i get this message

when i run it with ./startup.sh

INFO server server-start Wowza Media Server Pro Unlimited with MPEG-TS 1.6.0 build9437 -

INFO server comment - Serial number: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

INFO server comment - Maximum connections: Unlimited

INFO server comment - Hardware Available Processors: 4

INFO server comment - Hardware Physical Memory: 3678MB/4051MB

INFO server comment - Hardware Swap Space: 2047MB/2047MB

INFO server comment - Max File Descriptor Count: 1024

INFO server comment - Open File Descriptor Count: 32

INFO server comment - OS Name: Linux

INFO server comment - OS Version: 2.6.18-92.1.18.el5PAE

INFO server comment - OS Architecture: i386

INFO server comment - Java Name: Java HotSpot™ Server VM

INFO server comment - Java Vendor: Sun Microsystems Inc.

INFO server comment - Java Version: 11.0-b16

INFO server comment - Java Home: /usr/java/jdk1.6.0_11/jre

INFO server comment - Java Max Heap Size: 739MB

INFO server comment - Java Architecture: 32

INFO server comment - JMX java.rmi.server.hostname: localhost

INFO server comment - JMX bind attempt service:jmx:rmi://localhost:8084/jndi/rmi://localhost:8085/jmxrmi

INFO server comment - JMX password file: /usr/local/WowzaMediaServerPro/conf/jmxremote.password

INFO server comment - JMX access file: /usr/local/WowzaMediaServerPro/conf/jmxremote.access

INFO server comment - JMX bind successful

INFO server comment - CMDInterface now listening: [any]:8083

INFO server comment - vhost home directory: /usr/local/WowzaMediaServerPro

INFO vhost vhost-start defaultVHost -

INFO vhost comment defaultVHost RTMP/RTMPT bind attempt ([any]:1935)

INFO vhost comment defaultVHost Bind successful ([any]:1935)

When i try to open http://the-server-ip-address:1935 I don’t see anything … only “The page cannot be displayed…”

I turn off the firewall also i wrote to the support center of the hosting company to allow 1935, 8084 and 8085 through the hardware firewall … but still nothing.

Server Info:

Redhat with Plesk, apache, php, mysql.

Can anybody help me why i can’t run properly the server?

Thanks a lot,

Ross

I am not sure either. Here is what I would try just to be sure you can get traffic to Wowza Pro over a known port that works:

  1. Shutdown your web server

  2. Edit /usr/local/WowzaMediaServerPro/conf/VHost.xml and change the HostPort/Port to 80.

  3. Restart Wowza Pro

  4. Open a web browser on the test machine and enter the url:

http://[wowza-ip-address]

Where [wowza-ip-address] is the ip address of the server running Wowza Pro.

It should return the Wowza Pro version number.

If this doesn’t work then I might run the ifconfig command line tool to inspect the network interfaces on the box. Write down all the ip addresses that are exposed on the machine. Then run through the same steps this time change the HostPort/IpAddress to the address returned by ifconfig (do this for each ip addresses returned by ifconfig). If none of this works then something is really wrong.

This all assumes you can currently connect over port 80 to the web server running on the machine.

Charlie

Looks right to me. Maybe the host didn’t do anything about the firewall. Try this:

root ssh>iptables -I INPUT -p tcp --destination-port 1935 -j ACCEPT

Richard

You can’t just uncomment the port 443 definition since it is using an SSL class that is not hooked up. If you want to turn on 443 then make a copy of the section for 1935, copy and paste and change the port to 443.

These are the ports that the server uses to communicate with the Flash player. So if you can’t get 1935 open then you need to find a port that will work and define it in VHost.xml.

Charlie

Set back to *. Be sure TCP port 1935 is open on any firewalls and mapped to the server running Wowza. Open a web browser and enter the URL:

http://[wowza-ip-address]:1935

Where [wowza-ip-address] is the external ip address of the server running Wowza.

BTW, are you behind NAT?

Charlie

It means you have some other application running on TCP port 1935. If yoiu have Flash Media Server or Red5 installed on this server they need to be turned off or uninstalled.

Charlie

You can edit

[wowza-install-dir]/conf/VHost.xml

uncomment the HostPort block for port 80 (or 443) Note the HTTPProvider/BaseClass options, this is what you see in a browser.

But this will not work if you have a webserver on running on port 80 and 43 (ssl)

If you do have webserver, you can try changing the hostport to 8080. Or run the webserver on 8080.

Richard

First get Wowza running on a remote server.

Then get this Flash app running on your local development machine to connect to the remote Wowza Server.

Then you can move this Flash app to any web server.

Richard

I’m really not sure, I just muddle along with server administration myself.

Richard

I had this rule in the iptables … but nothing …

Do you think it can be connected with the Plesk CP? Or apache server?

So any solution about this problem? I mean where i have to use this 1935 port? When i try to reach this port on the server everything is ok “telnet localhost 1935”.

Is this port only for the application connection and if it’s not working with http://the-server-ip:1935 should i do something or leave it like that?

The problem here is that I already have apache running on 80 and 443, so I think that this is the problem … About port 1935 I’m still not sure why i can’t reach it …? Is there anything i can do so I can reach it through http?

I install the wowza on localhost on my machine (windows)

I use flex to connect to localhost.

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx=“http://www.adobe.com/2006/mxml” layout=“absolute” applicationComplete=“appcomp()”>

mx:Script

</mx:Script>

</mx:Application>

When i compile the code i get a message “Connection success!”

When i try this code on the server i get “Boo! failed!”.

I moved “mymodules” directory on the server in /applications folder and nothing …

Please help.

Ross

First get Wowza running on a remote server.

This is my question … why I can’t access 1935 (get wowza running properly) even i turn off the firewall? Any suggestions about this problem?

Have installed development edition.

Connection via http://localhost:1935 works fine

but any external connections is failed.

i’ve edited conf/VHost.xml and trying to replace * in *

to IP of server in result a recieved

defaultVHost Bind failed: (localhost:1935): java.net.SocketException: Invalid argument.

defaultVHost Bind failed: (localhost:1935): java.net.SocketException: Invalid argument. Help me !!