Open mustafaboleken opened 12 months ago
To confirm, we need to check the output of netstat -tpln | grep 1935
. This will tell us which process is using port 1935. Maybe nginx is configured (as a RTMP) or Ant Media Server is started with ./start.sh
Issue: Some users face with 1935 port is already used error. We should investigate if it's a bug or happened because of misusage of the Ant Media Server
Note: It's collected by New Relic and it's occurred on 4 different users' server
Stack Trace:
{ "errorDetail": "java.io.IOException: Error while binding on /0.0.0.0:1935\noriginal message : Address already in use\n\tat org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:257)\n\tat org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:50)\n\tat org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.registerHandles(AbstractPollingIoAcceptor.java:591)\n\tat org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:460)\n\tat org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n", "instanceId": "8d5a230a-12e7-4344-adf9-12a91e1a8819", "instanceType": "Community", "instanceVersion": "2.7.0", "timestamp": 1699362156145 }