red5 error while try to bind to 443 !!!

190 views
Skip to first unread message

bendark

unread,
Jan 29, 2017, 11:03:16 AM1/29/17
to BigBlueButton-dev
hi

i get this error while trying to bind to 443 !!

why does this happen? or its not allowed to run red5 on port 443?



error.log

2017-01-29 16:58:14,368+01:00 [main] ERROR o.r.s.net.rtmp.RTMPMinaTransport - Exception occurred during resolve / bind
java.io.IOException: Error while binding on /0.0.0.0:443
original message : Keine Berechtigung
    at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:238)
    at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:51)
    at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:586)
    at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$400(AbstractPollingIoAcceptor.java:71)
    at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:454)
    at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
2017-01-29 16:58:18,129+01:00 [0.0.0.0-startStop-1] WARN  o.s.w.s.h.SimpleUrlHandlerMapping - Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
2017-01-29 16:58:18,908+01:00 [Loader:] WARN  org.red5.server.scope.Scope - Invalid scope rejected: Scope [name=null, path=/default, type=APPLICATION, autoStart=true, creationTime=1485705498854, depth=1, enabled=true, running=false]
2017-01-29 16:58:18,909+01:00 [Loader:] WARN  org.red5.server.scope.Scope - Scope not added to parent

Fred Dixon

unread,
Jan 29, 2017, 11:57:55 AM1/29/17
to BigBlueButton-dev
Hi Bendark,

I googled "port 443" and found this article


Essentially, port 443 is used by Hypertext Transfer Protocol over TLS/SSL (HTTPS).  It's already bound to by nginx (your web server).

Regards,... Fred

  

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.
To post to this group, send email to bigbluebutton-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

bendark

unread,
Jan 29, 2017, 12:39:43 PM1/29/17
to BigBlueButton-dev

thanks fred


but i already stoped ngix , red5 refuse to bind to 443 , i am testing   rtmps.port=443
its not binding when running sudo systemctl start red5
its only binding when runnig /usr/share/red5/./red5.sh

i am running https on 444 , i resolved prolem with webrtc
red5 should bind on port 443 !!!!


how to resolbe this error???? why red5 not binding to 443???



best regards
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.

Fred Dixon

unread,
Jan 29, 2017, 1:27:42 PM1/29/17
to BigBlueButton-dev
Hi Bendark,

It looks like you are trying to configure RTMPS o nred5.  We've not tested that configuration with BigBlueButton  However, it looks like you still have another application binding to port 443.  I did a quick google for

   linux which application is using port

and found this command

  lsof -i :443

It should give you a list of all the applications that are listening on port 443.


Regards,... Fred



To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.
To post to this group, send email to bigbluebutton-dev@googlegroups.com.

bendark

unread,
Jan 29, 2017, 1:46:07 PM1/29/17
to BigBlueButton-dev

hi fred

no resultls when runnig lsof -i :443




best reagrds



Am Sonntag, 29. Januar 2017 19:27:42 UTC+1 schrieb Fred Dixon:
Hi Bendark,

bendark

unread,
Jan 29, 2017, 1:50:09 PM1/29/17
to BigBlueButton-dev


hi fred
i found this answer , thats the trouble i have


Caused by: java.net.SocketException: Permission denied

You need to be root (superuser) to bind to ports under 1024. That's why 9443 works, but 443 doesn't.



http://serverfault.com/questions/610117/failed-to-bind-to-0-0-0-0443


best regard
Reply all
Reply to author
Forward
0 new messages