出现以下问题时

2013-05-09 22:40:28 [net.rubyeye.xmemcached.XMemcachedClient]-[WARN] - XMemcachedClient use Binary protocol
2013-05-09 22:40:28 [net.rubyeye.xmemcached.monitor.XMemcachedMbeanServer]-[ERROR] - Get HostName Error
java.net.UnknownHostException: Test159: Test159: Name or service not known

在hosts文件中增加Memcached中连接的IP 和机器名,例如Memcached中的IP为10.10.3.159,机器名为Test159

vi /etc/hosts

10.10.3.159    Test159

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-02
猜你喜欢
  • 2021-09-04
  • 2022-12-23
  • 2021-12-23
  • 2021-04-19
相关资源
相似解决方案