nginx -t
fuser -k 443/tcp
fuser -k 80/tcp
systemctl stop nginx
systemctl start nginx
Danke, das bringt nochmal klarheit (aber leider keine Hilfe)
Code
root@v2202003116745111997:~# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
root@v2****:~# fuser -k 443/tcp
root@v2****:~# fuser -k 80/tcp
root@v2****:~# systemctl stop nginx
root@v2****:~# systemctl start nginx
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
und systemctl status nginx.service sagt wie oben
nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
Schöne Scheibe