开发者

Not able to connect to mysql database when firewall in active mode(Using java code)

I connect to mysql dat开发者_JS百科abase with java coding and give input as hostname,user,password. its able to connect and reterview the data. But when i activated firewall , its not able to connect database.


You should configure your firewall to not block the port number used by MySQL for communication (3306 by default) for the application being executed or for connections coming from the machine where you are running your program.


Your firewall blocks the incoming connection to port 3306. Set-up your firewall to allow connection on that port.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜