[Red5devs] Socket policy server error

Daniel Rossi spam at electroteque.org
Tue May 6 13:48:53 PDT 2008


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. 



More information about the Red5devs mailing list