Wdlinux How to modify the default 8080 port in the background

Source: Internet
Author: User

The WDCP system uses 8080 management ports by default and can be modified by the following methods, if you want to modify to 8000

Method One
Vi/www/wdlinux/apache/conf/wdcp.conf
Change the 8080 inside to 8000.
The corresponding Nginx configuration file is/WWW/WDLINUX/NGINX/CONF/WDCP

Method Two
Apache
Sed-i ' S/8080/8000/'/www/wdlinux/apache/conf/wdcp.conf
Nginx
Sed-i ' S/8080/8000/'/www/wdlinux/nginx/conf/wdcp.conf

Then remember to modify the port of the firewall iptables
Sed-i ' S/8080/8000/'/etc/sysconfig/iptables
Re-starting Iptables
Service Iptables Restart

Re-starting the web
Service httpd Restart
Or
Service Nginxd Restart
Complete

Wdlinux How to modify the default 8080 port in the background

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.