82576 Gigabit Network Connection│NONE │em1
82576 Gigabit Network Connection│XXX.XXX.XXX.21│em2
Ethernet Network Card│DHCP │eth0 │
Routing:
Default IPv4 Gateway: XXX.XXX.XXX.1
Device: em2
eth0 is LAN interface it's in internal zone and em2 is WAN interface and it's in external zone
when try to install the dialer server
Please input the master database IP address (XXX.XXX.XXX.20) : XXX.XXX.XXX.20
Do you want to connect using the default ViciDial DB settings? [Y/n] : y
DBI connect('asterisk:XXX.XXX.XXX.20:3306','cron',...) failed: Can't connect to MySQL server on 'XXX.XXX.XXX.20' (111 "Connection refused") at /usr/local/bin/vicibox-install line 1253.
Couldn't connect to ViciDial database: Can't connect to MySQL server on 'XXX.XXX.XXX.20' (111 "Connection refused") at /usr/local/bin/vicibox-install line 1253, <STDIN> line 7.
both servers are in the same Lan
Any Solution ??