一个端口可以被不同 IP 重复使用
Jihongchang(讨论 | 贡献)2022年8月14日 (日) 15:05的版本
redis.windows.conf
bind 192.168.0.120
port 6379
redis.windows.new.conf
bind 127.0.0.1
port 6379
可以同时启动两个进程不会冲突
C:\Users\Administrator>netstat -aon|findstr ":6379"
TCP 127.0.0.1:6379 0.0.0.0:0 LISTENING 19328
TCP 192.168.0.120:6379 0.0.0.0:0 LISTENING 16492