我正在rackspace云站点上运行一个php应用程序(Yii)。我已经在rackspace云服务器上安装了一个memcached服务器,它正在运行。问题是,我无法访问memcache。我得到了以下错误
Memcache::get() [<a href='memcache.get'>memcache.get</a>]: Server xx.xx.xxx.xxx (tcp 11211) failed with: A connection attempt failed because the connected party did not properly
我有三台云服务器(centos7.2 64位),采用内网IP配置SSH互信。
执行总是报错如下:
ssh - keygen -t rsa -P
ssh: Could not resolve hostname -: Name or service not known
其中,hostname采用命令:
hostnamectl set-hostname bzg001设置
/etc/hostname也改了:
bzg001
/etc/hosts也设置了:
127.0.0.1 bzg001 localhost
172.27.0.14 bzg001 localhost
172.27.0.2 bzg002