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 ›

CentOS admin not loading - forgot port ?

Started by Saahib, February 19, 2018, 02:29:53 PM

Previous topic - Next topic

Saahib

Hi,

I have an old CWP installation, couple of websites running on it and all are fine. It seems either I have forgotten port for admin or cwp admin is not loading .

I checked  version, its :
cat /usr/local/cwpsrv/htdocs/resources/admin/include/version.php
<?php
$webpanel_version 
= "0.9.8.314";
?>



I restarted cwp :
service cwpsrv restart
Stopping cwpsrv:                                           [  OK  ]
Starting cwpsrv:                                         [ OK ]


But its just not loading if I try : http://my-server-ip:2030 or https://my-server-ip:2031.

I also tried after disabling csf -x

Also tried
"service iptables stop"

But can't seems to get GUI work.

Browser is saying that "Site can't be reached" , so I checked my server-ip, its pingable and site hosted on it are working fine.

So, how can I verify on which port CWP admin is running and whether its running at all ?


n8v8r

from SSH CLI run netstat -plnt

look for listening port of
Quotecwpsrv: master

Saahib

Quote from: n8v8r on February 19, 2018, 02:42:10 PM
from SSH CLI run netstat -plnt

look for listening port of
Quotecwpsrv: master

Thanks,

This is what I get :

netstat -plnt | grep cwpsrv
tcp        0      0 127.0.0.1:2302              0.0.0.0:*                   LISTEN      2246/cwpsrv
tcp        0      0 0.0.0.0:2082                0.0.0.0:*                   LISTEN      2246/cwpsrv
tcp        0      0 0.0.0.0:2083                0.0.0.0:*                   LISTEN      2246/cwpsrv
tcp        0      0 0.0.0.0:2086                0.0.0.0:*                   LISTEN      2246/cwpsrv
tcp        0      0 0.0.0.0:2087                0.0.0.0:*                   LISTEN      2246/cwpsrv
tcp        0      0 0.0.0.0:2030                0.0.0.0:*                   LISTEN      2246/cwpsrv
tcp        0      0 0.0.0.0:2095                0.0.0.0:*                   LISTEN      2246/cwpsrv
tcp        0      0 0.0.0.0:2031                0.0.0.0:*                   LISTEN      2246/cwpsrv
tcp        0      0 0.0.0.0:2096                0.0.0.0:*                   LISTEN      2246/cwpsrv
[/quote]


n8v8r

cwpsrv appears online then. Did you try the all ports except for 2302? Check the webrowser console for any error

Saahib

This is weirdo ...

Can you tell me if I wish to change cwp ports, then from where I can do it correctly ?


Saahib


Saahib

Just an update.

I am finally able to access cwp but I am still not sure what caused it.

This time only thing I did new was that instead of service cwpsrv restart
I did :

service cwpsrv stop and then service cwpsrv start