0

我有两个子网:1 个私有,1 个公共

公众包含一个 Ubuntu 网络服务器。私有包含仅使用 MySQL 的 Redhat Enterprise(端口 3306、22 开放)

我能够到sshUbuntu,然后从 Ubuntussh到 Redhat。但我不能从 Ubuntu MySQL 到 Redhat。它给了我:

ERROR 2003 (HY000): Can't connect to MySQL server on '10.x.x.x.x' (113)

这个问题是在我创建了实例的镜像并在 VPC 中创建之后开始的。

4

1 回答 1

0

确保你在 redhat 上检查 iptables。当我重新启动 redhat 时,它启动了 iptables 并阻止我访问 mysql。

于 2014-03-31T18:11:33.413 回答