1
resposta

Connection Refused

Estou tendo problemas com esta etapa, alguém pode me ajudar?

vagrant@ubuntu-focal:~$ netstat -lntp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -
tcp6       0      0 :::80                   :::*                    LISTEN      -
tcp6       0      0 :::22                   :::*                    LISTEN      -
vagrant@ubuntu-focal:~$ curl https://localhost
curl: (7) Failed to connect to localhost port 443: Connection refused
vagrant@ubuntu-focal:~$ curl https://localhost:80
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
1 resposta

Tente utilizar o box UBUNTU/BIONIC ao invés do FOCAL. Posterior a isso, atualize os pacotes do Linux. Na sequencia instale o NGINX. Todos os processos em - Aula 2 > Parte 2 (configurações de rede).