New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Nginx & Varnish are using the same port

Started by gaurav, August 04, 2017, 05:23:52 AM

Previous topic - Next topic

gaurav

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?

studio4host

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.