IP Addresses Nginx Listens On
- When the edge management system starts the Nginx process, it obtains the usage attribute from the IP address configuration and adds only IP addresses whose Function is set to Web to the list of IP addresses that Nginx listens on.
- Floating IP addresses of wireless networks and Wi-Fi cannot be listened on.
Configuration Files Related to IP Addresses
- IPv4 address configuration file:
- openEuler: /etc/sysconfig/network-scripts/ifcfg-xxx (xxx can be eth0 or eth1.)
- Ubuntu: /etc/netplan/01-netcfg.yaml
- IPv4 address usage configuration file: /home/data/ies/tag.ini
- By default, the IP configuration file path supports the following operating systems:
- openEuler 22.03
- Ubuntu 22.04
- IP addresses can only be managed locally.
- The IPv6 address is used by the SmartKit to automatically discover devices.
- The IPv4 and IPv6 addresses listened on by Nginx must belong to the same NIC. If the IPv4 NIC that has been listened on does not have an IPv6 address, the IPv6 address is not listened on.
- Ensure that Nginx listens on a maximum of one IPv4 address and one IPv6 address. If there are multiple IP addresses used for Web, the system listens on the IP address with a higher priority (port 0 > ports 1 to 4) based on the NIC connection status.
Parent topic: Security Configuration and Hardening