Author Topic: CWP - Panel Not Opening. 2030 port forwarding to 2031  (Read 152 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP - Panel Not Opening. 2030 port forwarding to 2031
« on: April 11, 2019, 09:14:29 AM »
Centos Web Panel that I have used without problems for years has been directed to 2031 port and I cannot login to the system.


Look Image Please



« Last Edit: April 11, 2019, 09:18:34 AM by phprazzi »

Offline
*
Re: CWP - Panel Not Opening. 2030 port forwarding to 2031
« Reply #1 on: April 11, 2019, 01:36:20 PM »
Hi phprazzi,

I also had this problem yesterday and checked that the cwpsrv.conf file in the /usr/local/cwpsrv/conf folder has been updated and included the code below:

if ($server_port = 2030){
            return 301 https://$host:2031$request_uri;
        }
        if ($server_port = 2086){
            return 301 https://$host:2087$request_uri;
        }

If you want it not to be redirected, you can comment on this code and run the script / scripts / reload_cwpsrv, but I advise you to keep this configuration and use an ssl certificate for security.

Offline
*****
Re: CWP - Panel Not Opening. 2030 port forwarding to 2031
« Reply #2 on: April 11, 2019, 06:04:07 PM »
Hi, or you can use the server hostname with Let's Encrypt SSL for login to CWP. ;)