常用命令
windows系统:
查端口占用并杀掉进程:
netstat -ano | findstr '6379'
taskkill /pid /F '123123'
Linux 系统:
Mac 系统:
修改host文件
subl /private/etc/hosts
修改Mac地址
sudo ifconfig en0 ether xxx
实践出真知
netstat -ano | findstr '6379'
taskkill /pid /F '123123'
subl /private/etc/hosts
sudo ifconfig en0 ether xxx