OpenVZ Forum


Home » General » Support » Connection to mysql-VE failed.
Connection to mysql-VE failed. [message #25411] Sun, 23 December 2007 23:22 Go to previous message
Kutschka is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is it possible to use 'insmod command' for device driver loading inside VE ?
Next Topic: *SOLVED* lfd problem ConfigServer Security & Firewall (csf)
Goto Forum:
  


Current Time: Sun Aug 11 17:25:27 GMT 2024

Total time taken to generate the page: 0.02853 seconds