[Red5devs] Socket policy server error

Mondain mondain at gmail.com
Tue May 6 16:49:52 PDT 2008


Adobe picked the port.. :) and yes it is configurable. Go to red5.properties
and update "policy.port".

Paul

On Tue, May 6, 2008 at 1:48 PM, Daniel Rossi <spam at electroteque.org> wrote:

>
> On 07/05/2008, at 6:29 AM, Thijs Triemstra | Collab wrote:
>
> > Getting this error when trying to start Red5, latest trunk:
> >
> > [ERROR] [main] org.red5.server.net.policy.SocketPolicyHandler -
> > Exception initializing socket policy server
> > java.net.SocketException: Permission denied
> >       at sun.nio.ch.Net.bind(Native Method)
> >       at
> > sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
> > 119)
> >       at
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
> >       at
> > org
> > .apache
> > .mina
> > .transport.socket.nio.SocketAcceptor.registerNew(SocketAcceptor.java:
> > 363)
> >       at org.apache.mina.transport.socket.nio.SocketAcceptor.access
> > $800(SocketAcceptor.java:55)
> >       at org.apache.mina.transport.socket.nio.SocketAcceptor
> > $Worker.run(SocketAcceptor.java:222)
> >       at
> > org
> > .apache
> > .mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
> >       at java.lang.Thread.run(Thread.java:595)
> >
> > I guess this means red5 now has to be started as root because it
> > wants to use port 843? Is it possible to configure this port
> > somewhere?
> >
>
> Yeh this is what happens when launching from eclipse. With the default
> port it needs to be launched as root. Or changed in red5.properties.
>
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>



-- 
It is difficult to free fools from the chains they revere. - Voltaire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080506/df7ae930/attachment.html 


More information about the Red5devs mailing list