mac来使用redis然后产生上述错误,据说是用户名的问题

解决:

    打开终端:

      cat /private/etc/hosts

      sudo vi /private/etc/hosts

     将错误的那个名字加入到hosts当中

     127.0.0.1      错误的名字

     然后保存退出

   刷新下

           dscacheutil -flushcache

   错误解决。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-11
  • 2021-09-18
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
相关资源
相似解决方案