[Red5] can red5 run in port 80?
Atulesh MORE
atuleshrao at gmail.com
Thu Sep 23 08:59:04 PDT 2010
Hey I am not sure but are you firing this url
http://IP.de.di.ca.ted/oflaDemo/avatar.flv directly in browser ? or
in flash or in any player ??? If this is the case than it will not
work. You can not access file in such manner. You have to make
connection with Red5 application first like with oflaDemo than your
client side code will request to video clips like avatar.flv or else.
My apologies if I did get you wrong
R
Atulesh
On Thu, Sep 23, 2010 at 9:17 PM, Alessandra
<alessandra.bilardi at gmail.com> wrote:
> I install red5 in a server with two IP: IP.ser.ver and IP.de.di.ca.ted for red5
> Apache, Listen:IP.ser.ver:80
> Red5, http.host=IP.de.di.ca.ted and http.port:80
> and (now I check control) there is not a firewall.
>
> I see red5 index page on port 80: http://IP.de.di.ca.ted/
> it run http://IP.de.di.ca.ted/demos/echo_test.html and
> http://IP.de.di.ca.ted/echo/gateway
> it run http://IP.de.di.ca.ted:1935/oflaDemo/avatar.flv but it is HTTP
> Status 404 (Apache Tomcat/6.0.26 page) with
> http://IP.de.di.ca.ted/oflaDemo/avatar.flv
>
> there is not apache error log about http://IP.de.di.ca.ted/oflaDemo/avatar.flv
>
> On Thu, Sep 23, 2010 at 5:04 PM, Atulesh MORE <atuleshrao at gmail.com> wrote:
>> Because of IIS or Apache is running on server so they will hold it
>> until they live :) . Remember it is port 80 that firewall love .
>> However
>> if you do not have firewall on than you should be able to see index
>> page on port 5080 . Or please have a look on log file for error
>> message :)
>>
>> On Thu, Sep 23, 2010 at 8:25 PM, Alessandra
>> <alessandra.bilardi at gmail.com> wrote:
>>> 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)
>>> ----
>>>
>>> _______________________________________________
>>> 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)
> ----
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
More information about the Red5
mailing list