018查看机器端口范围
一、
#查看当前机器允许使用的端口范围 $ sysctl -a | grep net.ipv4.ip_local_port_range net.ipv4.ip_local_port_range = 32768 60999 #查看当前已经使用的端口数量 $ netstat -an|wc -l 1114 #查看redis连接池使用的端口范围 $ netstat -nat | grep -i "6379" | wc -l 86 $ netstat -nat | grep -i "6379" | wc -l 181
Reference:
https://blog.csdn.net/u014042372/article/details/85261871
https://cloud.tencent.com/developer/article/1722220

浙公网安备 33010602011771号