Connection to mysql-VE failed. [message #25411] |
Sun, 23 December 2007 23:22 |
Kutschka
Messages: 24 Registered: February 2007
|
Junior Member |
|
|
Hello,
I try to connect to VE-Mysql from VE.
(The VE-MySql is not reachable from outside/internet.)
VE: 192.168.1.1
VE-MySql : 192.168.1.2
I become the error:
"Error: 2003 (Can't connect to MySQL server on '192.168.1.2' (111))"
And for debug in the VE-MySql:
# tcpdump -i venet0 dst port 3306
in the VE:
# telnet 192.168.1.2 3306
=>Trying 192.168.1.2...
telnet: Unable to connect to remote host: Connection refused
I read the thread
http://forum.openvz.org/index.php?t=msg&goto=8628&
Quote: |
...check iptables on the HN and the VE....
|
But what shoud I do with iptables? Do I need to route the port, even the mysqlVE is only internal reachable?
Thank you,
Kutschka
|
|
|