Problem when starting Nginx in any port
Hello everyone, I just installed the latest version of laragon on my computer with windows 10. But I have a problem when trying to start Nginx. Nginx is assigned port 80 and when I start it, it gives me an error "Nginx can not start, reason: Port 80 is in use", but I have already replaced this port with other ports and it shows me the same message "Nginx can not start, reason : Port 80 is in use ", whatever port you assign. I also reviewed the Nginx configuration files and the changes are saved when assigning a new port for it. But if I assign port 80 to Apache it starts without problems. So I do not know where the problem is, maybe someone could help me. Thank you.
@WilBar : You can use Menu > Tools > netstat to detect which program occupies port 80
@leokhoa it was the first thing what i did. But I replace the port 80 by other one. And I have the same trouble. It shows me the same massage.
@WilBar : What do you mean "replace by other one"?
You should let the port free before running Nginx. Maybe Apache can run in your situation but it will cause trouble.
This post is deleted!
The situation is the following:
when assigning any port (free) to nginx, this still gives me an error of port 80 in use.
I leave pictures to explain myself better:
Whatever port I assign to Nginx, it shows me the same trouble port 80 in use.
Thanks for taking the time to review.
Can you test by adding another Nginx version?
I have this problem too