Centos7搭建redis集群及安装sentinel
# netstat -tnlp Active Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:26379 0.0.0.0:* LISTEN 41288/redis-sentine
tcp 0 0 0.0.0.0:6379 0.0.0.0:* LISTEN 41220/redis-server
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/systemd
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 932/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1555/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1178/master
tcp6 0 0 :::26379 :::* LISTEN 41288/redis-sentine
tcp6 0 0 :::6379 :::* LISTEN 41220/redis-server
tcp6 0 0 :::111 :::* LISTEN 1/systemd
tcp6 0 0 :::53 :::* LISTEN 932/dnsmasq
tcp6 0 0 :::22 :::* LISTEN 1555/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1178/master
页:
[1]