[Red5] can red5 run in port 80?

Alessandra alessandra.bilardi at gmail.com
Thu Sep 23 07:55:23 PDT 2010


I'm sorry, probably I have not explained everything.

into RED5_ROOT/conf/red5.properties, I change http.port value: 5080
with 80 and I restart the server (your suggestion).
in http://IP.de.di.ca.ted/demos/port_tester.html, now, all ports have
SUCCESS status except RTMP 80 (FAILED status) and RTMPT 1935 (FAILED
status).
when I use http://IP.de.di.ca.ted:1935/oflaDemo/avatar.flv, I download
this file: RED5_ROOT/webapps/oflaDemo/streams/avatar.flv

I would like know configuration to download
RED5_ROOT/webapps/oflaDemo/streams/avatar.flv from this url:
http://IP.de.di.ca.ted/oflaDemo/avatar.flv

If it was firewall problem, then I don't see default red 5 index page
into http://IP.de.di.ca.ted/ or see
http://IP.de.di.ca.ted/demos/port_tester.html, it doesn't?

Alessandra

On Thu, Sep 23, 2010 at 3:37 PM, Atulesh MORE <atuleshrao at gmail.com>
>
> Do you have Firewall on ???  If Apache or IIS is running than red5
> would be blocked by them (to access port 80) .... Otherwise it should
> be run with no problem. Please open red5 's port testing sample first.
>
On Thu, Sep 23, 2010 at 3:31 PM, Dominick Accattato
<daccattato at gmail.com> wrote:
>> Hello,
>>
>> I have a slight confusion as to what you need. For instance, if you place
>> your FLV files inside of a web accessible directory, you could access them
>> using progressive delivery. As an example, placing the FLV inside:
>>
>> RED5_ROOT/webapps/oflaDemo/avatar.flv
>>
>> you could then stream that progressively via:
>>
>> var conn:NetConnection = new NetConnection(null);
>> var ns:NetStream = new NetStream(conn);
>> ns.play("http://IP.de.di.ca.ted/oflaDemo/avatar.flv");
>>
>> However, if you are looking to stream that via RTMP, then you would place it
>> in the following directory (assuming your not using custom directories)
>>
>> RED5_ROOT/webapps/oflaDemo/streams/avatar.flv
>>
>> In regards to running RTMP over port 80, you can change red5.properties and
>> restart the server.
>> RED5_ROOT/conf/red5.properties
>>
>> If you're new to Red5, please check out my youtube developer series and
>> please subscribe. Thanks
>> http://www.youtube.com/dominickaccattato
>>
>> Dominick Accattato
>>
> On Thu, Sep 23, 2010 at 8:55 AM, Alessandra <alessandra.bilardi at gmail.com>
> wrote:
>>
>> Hi all,
>>
>> I'm newbie and I installed red5 today on Centos 5.
>> I used these steps:
>> * yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel
>> * cd /usr/src
>> * wget
>> http://mirrors.kahuki.com/apache/ant/binaries/apache-ant-1.8.1-bin.tar.bz2
>> * tar jxvf apache-ant-1.8.1-bin.tar.bz2
>> * mv apache-ant-1.8.1 /usr/local/ant
>> * export ANT_HOME=/usr/local/ant
>> * export JAVA_HOME=/usr/lib/jvm/java
>> * export PATH=$PATH:/usr/local/ant/bin
>> * export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
>> * svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5
>> * mv red5 /usr/local/
>> * cd /usr/local/red5
>> * ant prepare
>> * ant dist
>> * cp -r dist/conf .
>> * ./red5.sh
>> * wget http://www.sohailriaz.com/downloads/red5.txt
>> * mv red5.txt /etc/init.d/red5
>> * /etc/init.d/red5 start
>>
>> red5 runs in http://IP:5080/ and I installed all applications by
>> http://IP:5080/installer/.
>> I observed by http://IP:5080/demos/port_tester.html that only two RTMP
>> ports have SUCCESS status (Default and 1935), other ports have FAILED
>> status.
>>
>> I replaced 0.0.0.0 with IP.de.di.ce.ted into
>> /red5/conf/red5.properties and when I run
>> http://IP.de.di.ca.ted:1935/oflaDemo/avatar.flv, I download file.
>>
>> I would like download file with this url:
>> http://IP.de.di.ca.ted/oflaDemo/avatar.flv
>>
>> How can I active RTMP port 80? What do I do to obtain SUCCESS status
>> on RTMP port 80?
>> How can I download file with url
>> http://IP.de.di.ca.ted/oflaDemo/avatar.flv?
>>
>> Best,
>>
>> --
>>  Alessandra Bilardi, Ph. D.
>> ----
>>  http://www.linkedin.com/in/bilardi
>> ----
>> La semplicità è la più alta forma di perfezione (Leonardo Da Vinci)
>> Keep it simple, stupid (KISS, IT)
>> ----
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>



-- 
 Alessandra Bilardi, Ph. D.
----
 http://www.linkedin.com/in/bilardi
----
La semplicità è la più alta forma di perfezione (Leonardo Da Vinci)
Keep it simple, stupid (KISS, IT)
----



More information about the Red5 mailing list