Ubuntu 11.10安装后,在/etc/hosts里有两条记录:
localhost 127.0.0.1
mybox 127.0.1.1
为什么要这样配置呢?安全需要?
--
Regards,
David Shen
出现connection refuse错误,感觉是放火墙的问题。但是如果两个都是本地回路,防火墙应该不会影响啊。
2011/11/11 juju <juju...@jujusoft.net>:
--
Add your hostname, coinciding with the one specified in /etc/rc.conf, as an alias, so that it looks like this:
127.0.0.1 localhost.localdomain localhost yourhostname
这样的话可能是我配置的问题。我用的是默认配置。hbase启动时默认监听127.0.0.1,然后取得我的机器名后,又用我的机器名访问服务。
谢谢。
Regards,
David Shen