The most common problem why Nginx does not start is that different applications such as the IIS web server or Apache are
already using port 80 or 443 on your machine.You can check that with the following terminal commands:
If there are other applications using these ports and it’s not pointing to 127.0.0.1, you can identify them by looking up the PID (the last number in the
output) in the Task Manager.