# Cannot listen https port, only listen http port

**URL:** <https://openvidu.discourse.group/t/cannot-listen-https-port-only-listen-http-port/2250>\
**Category:** Issues with deployment\
**Tags:** v2\
**Created:** [November 10, 2020, 11:22pm UTC](https://openvidu.discourse.group/t/cannot-listen-https-port-only-listen-http-port/2250 "2020-11-10T23:22:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erdem\_aygunes](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/erdem_aygunes/32/1003_2.png) [@Erdem\_aygunes](https://openvidu.discourse.group/u/Erdem_aygunes)\
**Post date:** [November 10, 2020, 11:22pm UTC](https://openvidu.discourse.group/t/cannot-listen-https-port-only-listen-http-port/2250/1 "2020-11-10T23:22:04Z")

</div>

Hi,  
Im trying to deploy Openvidu on premises 2.15 version.

I’m using company network. Set all necessary properties on .env file and set HTTPS\_PORT=4443.  
After start Openvidu service. I can see the success log as shown like below.

openvidu-server\_1 | OpenVidu is ready!  
openvidu-server\_1 | ---------------------------  
openvidu-server\_1 |  
openvidu-server\_1 | \* OpenVidu Server: [https://localhost:4443/](https://localhost:4443/)  
openvidu-server\_1 |  
openvidu-server\_1 | \* OpenVidu Dashboard: [https://localhost:4443/dashboard/](https://localhost:4443/dashboard/)  
openvidu-server\_1 |  
openvidu-server\_1 | ----------------------------------------------------

But when i check the docker-compose nginx logs, it seems it stuck and not able to see “Adding rules…” logs here

 ![image](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/4/496042e9dc2807d6fbd7d8fd7cf4ae7ff2d58d4f.png)

When i check the HTTP\_PORT with lsof -i:8585 , I can able to listen it. But, when i check the HTTPS\_PORT with lsof -i:4443 , i cannot see any result and not able to open Dashboard.

Also i want to mention that, sometimes i can able to listen HTTPS\_PORT also but, I have no any idea even not change anything how it can work sometimes… I dont understand the root cause of this problem. And now currently unfortunately it is not working again 🙁

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [November 11, 2020, 3:00pm UTC](https://openvidu.discourse.group/t/cannot-listen-https-port-only-listen-http-port/2250/2 "2020-11-11T15:00:36Z")

</div>

Please can you show the rest of the log? If the nginx container is not working it should be showing errors at the end of the log.

---

<div class="post-metadata">

**Author:** ![Erdem\_aygunes](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/erdem_aygunes/32/1003_2.png) [@Erdem\_aygunes](https://openvidu.discourse.group/u/Erdem_aygunes)\
**Post date:** [November 15, 2020, 12:50am UTC](https://openvidu.discourse.group/t/cannot-listen-https-port-only-listen-http-port/2250/3 "2020-11-15T00:50:33Z")

</div>

Thank you for your response. But unfortunately there is no more log when i execute “docker-compose logs -f nginx” no error

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [November 15, 2020, 7:03pm UTC](https://openvidu.discourse.group/t/cannot-listen-https-port-only-listen-http-port/2250/4 "2020-11-15T19:03:33Z")

</div>

Does your machine have access to the internet? After the “Allowed Access” log the nginx container get it’s own public ip by using a http service. Maybe your container has broke after this part.

If you have internet connection, try to delete the folder in /opt/openvidu/certificates and restart the openvidu.

Regards,  
Carlos
