Sample Header Ad - 728x90

Remote connecting to Asterisk mysql database from internet issue

0 votes
1 answer
263 views
I can connect to Asterisk MySQL database (asteriskcdrdb) and everything is okay. Asterisk server located in my LAN network. I can to connect to this database from my computer with Mysql client application. Now I want to connect this database from another server that put on internet hosting. I set port forward on ADSL modem for connect to this database, but I can't connect and get this error:
[08S01]
	Communications link failure

	The last packet sent successfully to the server was ۰ milliseconds ago. The driver has not received any packets from the server.
java.net.ConnectException: Connection timed out: connect.
I checked port forward configuration and everything is okay because I have another Mysql database on windows that work. Also I run service iptables stop on Asterisk server, but I get error. What should I do? Do you have any suggestion for my issue? Thanks
Asked by Ehsan Ali (101 rep)
Dec 30, 2021, 01:38 PM
Last activity: May 22, 2025, 09:05 AM