Hostname returning error


MySQL Database: sql311 epizy com

Error Message

Error: getaddrinfo ENOTFOUND
errno: -3008,
code: ‘ENOTFOUND’,
syscall: ‘getaddrinfo’,
hostname: ‘’,
fatal: true

Other Information

Using NodeJS mysql library and .createPool with a config with the correct credentials return the error above.

Are you connecting to the database server from your InfinityFree hosting server?
Remote SQL connections are disabled.


That could be it. Yeah ive tried to connect using DBeaver and that also doesn’t work. Is there a way to enable it?

If not is there a way to use the server as a proxy for the SQL query?

Upgrade to premium hosting


Remote database connections are disabled so it won’t work on free hosting. However on premium hosting remote database connections are allowed so you can, use peemium hosting.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.