Control Web Panel

WebPanel => Apache => Topic started by: keyjey on January 23, 2017, 10:04:24 AM

Title: nginx error --> Address already in use (port 80)
Post by: keyjey on January 23, 2017, 10:04:24 AM
Hi, I've been trying to install a CentOS webpanel for the last year on different times and always that I chose Apache & Varnish Cache & Nginx Reverse Proxy this doesn't work, same that happens some months ago in my last try.

Always the same.

Code: [Select]
Jan 23 10:51:54 test1.domain.com nginx[986]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

Seems than nginx listens to port 80 instead of 82.

I've installed 3 or 4 times CWP in different KVM server in different provider and always the same problem.

Any tip ? thanks
Title: Re: nginx error --> Address already in use (port 80)
Post by: Sandeep on January 23, 2017, 11:16:09 AM
contact us for more investigations
Title: Re: nginx error --> Address already in use (port 80)
Post by: keyjey on January 23, 2017, 11:59:12 AM
I could make it work now, but after installing a test WordPress via softaculous I get a 404:

404 Not Found

nginx/1.10.2
Title: Re: nginx error --> Address already in use (port 80)
Post by: keyjey on January 24, 2017, 02:03:05 PM
UP
Title: Re: nginx error --> Address already in use (port 80)
Post by: robbyq on January 25, 2017, 02:15:24 PM
UP

Stop Nginx, Stop Apache
Start Apache, Start Nginx = Work.

Try
Title: Re: nginx error --> Address already in use (port 80)
Post by: keyjey on January 25, 2017, 03:05:21 PM
Yes, could make it work yesterday aftesr tgome tests. Also reconfiguring webservers again helped.

Thanks anyway ! ;)
Title: Re: nginx error --> Address already in use (port 80)
Post by: allofthemes on October 07, 2017, 11:32:47 PM
For more faster..
use this command in ssh sudo fuser -k 80/tcp .


:D