9 days ago
Hello! My Node.js service is unable to connect to my linked MySQL service.
I have confirmed that the environment variables are not being injected automatically. When I manually set MYSQLHOST to the private networking hostname provided in the dashboard (mysql.railway.internal), my application fails with the error: Error: getaddrinfo ENOTFOUND mysql.railway.internal.
It seems like there is a DNS resolution or networking issue between my services.
I have already tried redeploying both services.
My project uses a standard Node.js setup with the mysql2 library.
The project ID is: 81fed943-f086-4381-8fdd-ba2784b8a3cb
Could you please investigate the networking between the services in my project? Thank you.
0 Replies
9 days ago
same issue happening with my mongodb and next.js app