Rate This Document
Findability
Accuracy
Completeness
Readability

Changing the IP Address and Port Number of the Kunpeng DevKit

/opt/DevKit is the tool installation directory. Replace it with the actual directory.

  1. Use an SSH tool to remotely log in to the Linux CLI.
  2. Stop the Kunpeng DevKit service.
    1
    systemctl stop devkit_nginx
    
  3. Run the script for changing the IP address and port number.
    1
    2
    cd /opt/DevKit/tools
    ./change_ip_port.sh
    
    • Change the IP address and port number as prompted.
    • If the firewall has been automatically enabled during tool installation, the port will be restored to the original status after the port is changed. The tool checks whether the new port is enabled. If you type y on the interactive interface, the port is enabled.
    • When configuring the IP address of the web server, enter the local IP address (Run ip addr on Linux to query the IP address).
  4. Restart the Kunpeng DevKit.
    1
    2
    3
    systemctl start devkit_nginx
    systemctl restart gunicorn_framework
    systemctl restart gunicorn_plugin