咨询热线:4006-75-4006

售前:9:00-23:30    备案:9:00-18:00    技术:7*24h

1.X版本的wdcp如何修改后台端口

2018-01-24 23:49:08 1827次
  1. X版本的wdcp如何修改后台端口


wdcp系统默认使用的是8080管理端口,可以通过以下方法修改,如要修改为8000


方法一

vi /www/wdlinux/apache/conf/wdcp.conf

把里面的8080改为8000即可

相应nginx的配置文件在/www/wdlinux/nginx/conf/wdcp


方法二

apache 

sed -i 's/8080/8000/' /www/wdlinux/apache/conf/wdcp.conf

nginx

sed -i 's/8080/8000/' /www/wdlinux/nginx/conf/wdcp.conf


然后记得修改防火墙iptables的端口

sed -i 's/8080/8000/' /etc/sysconfig/iptables

重起iptables

service iptables restart


重起web

service httpd restart

or

service nginxd restart

完成


首页
最新活动
个人中心