Custom Port and IP Domain Configuration
This document describes how to configure custom ports, IP domains, and access control for the WeDa Low-Code Platform.
1. Configure Development Platform Access Parameters
1.1 Preparation
# Download the latest installation package and extract
cd /data/tencent/weda
# Configure LICENSE.txt file (ensure authorization is completed)
1.2 Modify Configuration File
Edit the config.yaml file to configure platform access parameters:
vim config.yaml
Set the following parameters in the configuration file:
# External access address (IP or domain)
domain: "<Enter real access IP or domain>"
# Access protocol (https or http)
domainProtocol: "http"
# External access port
domainPort: 8080
1.3 Apply Configuration
Restart Service
After modifying the configuration file, you need to execute ./upgrade.sh and restart platform services for the configuration to take effect.
2. Configure Installer Port and Access Control
2.1 Custom Installer Port
The installer uses port 38080 by default. If this port is occupied, the system will report an error and fail to start. In this case, you need to specify another port:
# Start installer with custom port
./install.sh --port=38081
2.2 Configure Client IP Whitelist
To enhance security, you can restrict access to the installer to only specified IP addresses:
# Specify allowed client IP addresses
./install.sh --port=38081 --cips="129.23.22.11,123.34.44.22"
Parameter Description:
--port: Specifies the installer listening port--cips: Specifies the list of allowed client IP addresses- Multiple IP addresses are separated by commas (
,) - IP addresses should be the real IP addresses of client devices
Examples:
- Single IP:
--cips="192.168.1.100" - Multiple IPs:
--cips="192.168.1.100,192.168.1.101,10.0.0.50"