Node app and mysql both are in same region want to use private network

snapied
PRO

4 months ago

Node app and mysql both are in same region (EU West), I want to use private network, app is not connecting with mysql database using private or internal hostname.

However public hostname works.

I created a variable in API(project) as suggested still not connecting. Additionally I created replicated instances of node app instance.

Please help!

Solved

2 Replies

snapied
PRO

4 months ago

PS: I have create 4 instance of API(project) all are in the same reason!!


snapied
PRO

4 months ago

Finally it worked manually copied the internal database url into the database host name, it worked. No need for complete conection string for sequelize


Status changed to Solved david 4 months ago