Author Topic: Cannot start apache nginx both trying to use port 80  (Read 11483 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cannot start apache nginx both trying to use port 80
« on: August 05, 2019, 07:03:56 AM »
When I select any of the apache / nginx, apache / nginx / varnish webserver combinations I am unable to get them both running at the same time. Both are attempting to use port 80 even though checking the conf files apache has 8181 set and nginx port 80

I must be missing a setting or something somewhere. Ive tried reverting back to apache which works fine as its the only server on port 80 but when i install nginx through the cwp panel only one will start. What am I missing??

Offline
*
Re: Cannot start apache nginx both trying to use port 80
« Reply #1 on: August 05, 2019, 08:23:30 AM »
Ive changed the ports in the config files for nginx and that will now load. It would seem apache is wishing to load on port 80 regardless of what is stated in the conf files

netstat -tulpn | grep :80
tcp6       0      0 :::80                   :::*                    LISTEN      6705/httpd

Offline
*
Re: Cannot start apache nginx both trying to use port 80
« Reply #2 on: August 05, 2019, 08:59:35 AM »
Same issue!
Many time server get issue and now i stoped using this cpanel

Offline
*
Re: Cannot start apache nginx both trying to use port 80 [SOLVED]
« Reply #3 on: August 05, 2019, 09:22:06 AM »
Actually got it resolved.

I had installed cloudlinux and this had installed a version of httpd in /etc/httpd

It was this version of httpd which was running not cwp-httpd

Removed and rebuilt the webservers and all is running as expected now.


Offline
*
Re: Cannot start apache nginx both trying to use port 80
« Reply #4 on: September 15, 2019, 08:25:55 AM »
Rebuild web server trough CWP admin will solved this problem