1. sudo systemctl restart nginx Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details
=> fix:
$ sudo fuser -k 80/tcp
- this command kills processes that are currently using port 80
$ sudo fuser -k 443/tcp
- this command kills processes that are currently using port 443
$ sudo service nginx restart
Thank you.
No comments:
Post a Comment