[jitsi-dev] [jitsi-videobridge] Why does the video bridge listen to port 443. I want to run nginx with SSL on that port (#49)


#1

Hi,
I am currently recognizing that the video bridget listens to port 443. I don't want that. I want to run nginx there.

    # start video bridge
    ./jvb.sh --host=localhost --domain=v.apaxo.de --port=5347 --secret=*****

    # show ports
    netstat -pantu
    ... (around 30 other servers shown prosody, jicofo, ssh etc.)
    tcp 0 0 10.240.87.13:443 0.0.0.0:* LISTEN 2525/java
    ...

I will investigate why this is the case.

/Manuel

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi-videobridge/issues/49


#2

It is not even supporting SSL:

```
$ openssl s_client -connect v.apaxo.de:443
CONNECTED(00000003)
write:errno=104

···

---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 308 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
```

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi-videobridge/issues/49#issuecomment-66248998


#3

Closed #49.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi-videobridge/issues/49#event-204701148


#4

Please use the mailing list (dev@jitsi.org) for questions.
https://github.com/jitsi/jitsi-videobridge/blob/master/doc/tcp.md

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi-videobridge/issues/49#issuecomment-66249181


#5

Thanks for the super fast answer

![You rock](http://www.desicomments.com/dc1/10/145020/1450201.jpg)

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi-videobridge/issues/49#issuecomment-66250234


#6

I just want to complete the solution for this problem (when somebody finds it with google he or she should know that to do):

    $ sudo service nginx restart
    Restarting nginx: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
    nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
    nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
    nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
    nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
    nginx: [emerg] still could not bind()
    nginx.

Add the following to ~/.sip-communicator/sip-communicator.properties

    org.jitsi.videobridge.TCP_HARVESTER_PORT=4443

Restart video bridge
Restart nginx

Done.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi-videobridge/issues/49#issuecomment-66254171


#7

This happens automatically as long as you start nginx first.

Please use the mailing lists for questions:

https://jitsi.org/lists

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi-videobridge/issues/49#issuecomment-66258658