forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
3.1 KiB
3.1 KiB
What Should I Do If the Service Port Is Used by the Agent?
Cloud Eye Agent uses HTTP requests to report data. Any port in the range obtained from path /proc/sys/net/ipv4/ip_local_port_range may be occupied. If any service port is used by the Agent, you can modify path /proc/sys/net/ipv4/ip_local_port_range and restart the Agent to solve the problem.
Procedure
- Log in an ECS or BMS as user root.
- Open the sysctl.conf file:
vim /etc/sysctl.conf
- (Permanent change) Add new ports to the sysctl.conf file:
net.ipv4.ip_local_port_range=49152 65536
- Make the modification take effect:
- Run the following command to restart the Agent:
Parent topic: Server Monitoring