Author Topic: Nginx & Varnish are using the same port  (Read 450 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Nginx & Varnish are using the same port
« on: August 04, 2017, 05:23:52 AM »
Hi,

I a first time user of CWP. I will be mostly running WordPress/WooCommerce sites on this server, and accordingly have selected the following web servers: Apache & Varnish Cache & Nginx Reverse Proxy (Varnish on port 80, Nginx on port 82 and apache on port 8181)

However, I cannot start nginx and varnishd together, as whichever is started later throws the error that port is already in use. Looks like Nginx is also using Port 80 instead of 82 mentioned in the configuration. Is there any manual configuration required after selecting the above combination from the control panel?

Offline
*
Re: Nginx & Varnish are using the same port
« Reply #1 on: August 04, 2017, 07:09:36 AM »
try checking all ports used by nginx/varnish/apache it should be visible module where you select webservers

don't forget to rebuild vhosts after you make this changes.
If something goes wrong try this, switch to apache only and rebuild vhosts then select option which you need and again rebuild vhosts.

In case that any of this doesn't work you can stop all webservers from cwp and check in the process list if some webserver stucked and left running.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.