Ticket #70 (accepted Improvement)
IP/port error messages
| Reported by: | thijs | Owned by: | mondain |
|---|---|---|---|
| Priority: | Minor | Component: | App Server |
| Version: | 0.8 RC2 | Keywords: | |
| Cc: |
Description
It is not always clear why Red5 can't bind to an ip address or port. There's many ips and ports to configure in red5.properties, and it would be useful if the logger can show a little more than this for example:
Exception in thread "main" java.net.BindException: Can't assign requested address
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:425)
at org.apache.mina.transport.socket.nio.SocketAcceptor.access$900(SocketAcceptor.java:51)
at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(SocketAcceptor.java:311)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:43)
at java.lang.Thread.run(Thread.java:613)
If it can show something like the thing below I don't need to use netstat to check what's going on:
[WARN] RTMP HOST: Can't assign requested address 192.168.1.106
[WARN] RTMP Port: Can't assign requested port 192.168.1.106:80
etc..
