# Please check the installation order

**URL:** <https://openvidu.discourse.group/t/please-check-the-installation-order/3961>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [May 12, 2022, 8:23am UTC](https://openvidu.discourse.group/t/please-check-the-installation-order/3961 "2022-05-12T08:23:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [May 12, 2022, 8:23am UTC](https://openvidu.discourse.group/t/please-check-the-installation-order/3961/1 "2022-05-12T08:23:37Z")

</div>

It’s ubuntu 20.04 version and I installed docker.  
The sequence is as follows.

1. sudo su
2. cd /opt
3. curl [https://s3-eu-west-1.amazonaws.com/aws.openvidu.io/install\_openvidu\_latest.sh](https://s3-eu-west-1.amazonaws.com/aws.openvidu.io/install_openvidu_latest.sh) | bash
4. cd openvidu
5. nano .env
6. My .env file Setting  
DOMAIN\_OR\_PUBLIC\_IP=220.89.167.212  
OPENVIDU\_SECRET=MY\_SECRET  
CERTIFICATE\_TYPE=selfsigned  
HTTP\_PORT=4443  
HTTPS\_PORT=4443
7. .env file save completed.
8. ./openvidu start  
start completed.

* * *

## OpenVidu Platform is ready!

- OpenVidu Server: [https://220.89.167.212:4443/](https://220.89.167.212:4443/)

- OpenVidu Dashboard: [https://220.89.167.212:4443/dashboard/](https://220.89.167.212:4443/dashboard/)

* * *

If you connect to the server address, the connection is not possible.  
What’s wrong?

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [May 12, 2022, 2:27pm UTC](https://openvidu.discourse.group/t/please-check-the-installation-order/3961/2 "2022-05-12T14:27:07Z")

</div>

Why have you set HTTP and HTTPS ports to the same port number? That will bring problems, for sure.  
Remove your HTTP\_PORT=4443 declaration. Use only HTTPS\_PORT.

---

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [May 12, 2022, 2:38pm UTC](https://openvidu.discourse.group/t/please-check-the-installation-order/3961/3 "2022-05-12T14:38:23Z")

</div>

I removed the HTTP\_PORT=4443 entry, but it still doesn’t work.  
Is there anything else you can check?

---

<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:** [May 12, 2022, 2:51pm UTC](https://openvidu.discourse.group/t/please-check-the-installation-order/3961/4 "2022-05-12T14:51:43Z")

</div>

But what is the error you get in the browser?

Check the logs of other containers running, like nginx:

```auto
sudo su
cd /opt/openvidu
docker-compose logs nginx

```

Also check your opened ports: [On premises - OpenVidu Docs](https://docs.openvidu.io/en/2.21.0/deployment/ce/on-premises/#1-prerequisites)

---

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [May 12, 2022, 2:53pm UTC](https://openvidu.discourse.group/t/please-check-the-installation-order/3961/5 "2022-05-12T14:53:50Z")

</div>

Browser error is ‘Connection denied.’

The log can be checked tomorrow.

---

<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:** [May 12, 2022, 3:00pm UTC](https://openvidu.discourse.group/t/please-check-the-installation-order/3961/6 "2022-05-12T15:00:17Z")

</div>

Ok, check the log for any error tomorrow and come back.

Regards,  
Carlos

---

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [May 12, 2022, 3:01pm UTC](https://openvidu.discourse.group/t/please-check-the-installation-order/3961/7 "2022-05-12T15:01:33Z")

</div>

Thanks for the advice.

---

<div class="post-metadata">

**Author:** ![seungsun](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@seungsun](https://openvidu.discourse.group/u/seungsun)\
**Post date:** [May 13, 2022, 12:40am UTC](https://openvidu.discourse.group/t/please-check-the-installation-order/3961/8 "2022-05-13T00:40:49Z")

</div>

nginx log is:  
openvidu-nginx-1 |  
openvidu-nginx-1 | =======================================  
openvidu-nginx-1 | = INPUT VARIABLES =  
openvidu-nginx-1 | =======================================  
openvidu-nginx-1 |  
openvidu-nginx-1 | Config NGINX:  
openvidu-nginx-1 | - Http Port: 80  
openvidu-nginx-1 | - Https Port: 4443  
openvidu-nginx-1 | - Worker Connections: 10240  
openvidu-nginx-1 | - Allowed Access in Openvidu Dashboard: all  
openvidu-nginx-1 | - Allowed Access in Openvidu API: all  
openvidu-nginx-1 | - Support deprecated API: true  
openvidu-nginx-1 | - Redirect www to non-www: false  
openvidu-nginx-1 |  
openvidu-nginx-1 | Config Openvidu Application:  
openvidu-nginx-1 | - Domain name: 220.89.167.212  
openvidu-nginx-1 | - Certificated: selfsigned  
openvidu-nginx-1 | - Letsencrypt Email: [sengsun2000@naver.com](mailto:sengsun2000@naver.com)  
openvidu-nginx-1 | - Openvidu Application: true  
openvidu-nginx-1 | - Openvidu Application Type: CE  
openvidu-nginx-1 |  
openvidu-nginx-1 | =======================================  
openvidu-nginx-1 | = CONFIGURATION NGINX =  
openvidu-nginx-1 | =======================================  
openvidu-nginx-1 |  
openvidu-nginx-1 | Configure 220.89.167.212 domain…  
openvidu-nginx-1 | - New configuration: selfsigned 220.89.167.212  
openvidu-nginx-1 | - Old configuration: selfsigned 192.168.0.30  
openvidu-nginx-1 |  
openvidu-nginx-1 | - Restarting configuration… Removing old certificated…  
openvidu-nginx-1 | - Generating selfsigned certificate…  
openvidu-nginx-1 | Generating a RSA private key  
openvidu-nginx-1 | …+++++  
openvidu-nginx-1 | …+++++  
openvidu-nginx-1 | writing new private key to ‘/etc/letsencrypt/live/220.89.167.212/privkey.pem’  
openvidu-nginx-1 | -----  
openvidu-nginx-1 |  
openvidu-nginx-1 |  
openvidu-nginx-1 | =======================================  
openvidu-nginx-1 | = ALLOWED ACCESS =  
openvidu-nginx-1 | =======================================  
openvidu-nginx-1 |  
openvidu-nginx-1 | Adding rules…  
openvidu-nginx-1 | - Public IPv4 for rules: 220.89.167.212  
openvidu-nginx-1 |  
openvidu-nginx-1 | Finish Rules:  
openvidu-nginx-1 | Openvidu Dashboard:  
openvidu-nginx-1 | - allow all;  
openvidu-nginx-1 | Openvidu API:  
openvidu-nginx-1 | - allow all;  
openvidu-nginx-1 |  
openvidu-nginx-1 | =======================================  
openvidu-nginx-1 | = START OPENVIDU PROXY =  
openvidu-nginx-1 | =======================================  
openvidu-nginx-1 |  
openvidu-nginx-1 | Restarting nginx  
openvidu-nginx-1 | 2022/05/13 00:25:54 [warn] 89#89: “ssl\_stapling” ignored, no OCSP responder URL in the certificate “/etc/letsencrypt/live/220.89.167.212/fullchain.pem”  
openvidu-nginx-1 | nginx: [warn] “ssl\_stapling” ignored, no OCSP responder URL in the certificate “/etc/letsencrypt/live/220.89.167.212/fullchain.pem”  
openvidu-nginx-1 | 2022/05/13 00:25:54 [notice] 89#89: signal process started  
openvidu-nginx-1 | Starting nginx…  
openvidu-nginx-1 | 2022/05/13 00:26:04 [warn] 91#91: “ssl\_stapling” ignored, no OCSP responder URL in the certificate “/etc/letsencrypt/live/220.89.167.212/fullchain.pem”  
openvidu-nginx-1 | nginx: [warn] “ssl\_stapling” ignored, no OCSP responder URL in the certificate “/etc/letsencrypt/live/220.89.167.212/fullchain.pem”

Problems with the log?

---

<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:** [May 13, 2022, 12:39pm UTC](https://openvidu.discourse.group/t/please-check-the-installation-order/3961/9 "2022-05-13T12:39:24Z")

</div>

Looks ok.

Can you do a `docker ps`?

Did you check all your ports are reachable?
