Author Topic: How to change cwpsrvd Listen port (CWP)  (Read 10558 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to change cwpsrvd Listen port (CWP)
« on: July 07, 2014, 04:19:16 PM »
If you need to change cwpsrvd Listen port you can do that by editing following files:

NON SSL PORT 2030
Here you can edit default port 2030
Code: [Select]
nano /usr/local/cwpsrv/conf/httpd.conf
to get Line number us this command
Code: [Select]
grep -n Listen /usr/local/cwpsrv/conf/httpd.conf


SSL PORT 2031

to edit SSL port which is by default 2031
Code: [Select]
nano /usr/local/cwpsrv/conf.d/cwp-ssl.conf
don't forget that you need to add your new ports in CSF Firewall and restart cwpsrv using this command.
Code: [Select]
service cwpsrv restart


AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
***
Re: How to change cwpsrvd Listen port (CWP)
« Reply #1 on: May 24, 2017, 10:46:39 PM »
I dont believe this post is valid in centos 7

Offline
*
Re: How to change cwpsrvd Listen port (CWP)
« Reply #2 on: June 18, 2017, 05:13:26 PM »
not work after upgrade cwp 0.9.0.188. how can i change this login port ?

thank you

Offline
*
Re: How to change cwpsrvd Listen port (CWP)
« Reply #3 on: June 18, 2017, 08:56:42 PM »
not work after upgrade cwp 0.9.0.188. how can i change this login port ?

thank you

it's ok. i do it wrong :)

Offline
*
Re: How to change cwpsrvd Listen port (CWP)
« Reply #4 on: June 24, 2017, 11:44:47 AM »
Hi, my experience on english and french for my friends.

for change access port for CWP version"0.9.8.333" || Pour changer le port d'accès à CWP version "0.9.8.333"

please, save original files before change !  || attention de sauvegarder les fichiers de configuration avant de modifier !

change value 2030 and 2031 on : || changer les valeurs 2030 et 2031 dans:
Code: [Select]
sudo nano /usr/local/cwpsrv/conf/cwp-panels.conf
and change value port on firewall || puis changer les ports dans le firewall :
Code: [Select]
sudo nano /etc/csf/csf.conf
remove old ports and add new ports || supprimer et ajouter les nouveaux ports :

on "Allow incoming TCP ports"
and "Allow outgoing TCP ports"
and "allow incomming IPv6 ports"
and "allow outgoing IPv6 ports"

one reboot and enjoy ;-)