6 days ago
I have a MySQL database running and a Node.js app, and my .env
file is configured — but it turns out this port doesn't work on Railway. Any details?
ddress: 'fd12:b4c3:8675:0:1000:23:9f29:b443',
port: 3306,
fatal: true
}
Error: connect ECONNREFUSED fd12:b4c3:8675:0:1000:23:9f29:b443:3306
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: 'fd12:b4c3:8675:0:1000:23:9f29:b443',
port: 3306,
fatal: true
}
Error: connect ECONNREFUSED fd12:b4c3:8675:0:1000:23:9f29:b443:3306
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: 'fd12:b4c3:8675:0:1000:23:9f29:b443',
port: 3306,
fatal: true
}
2 Replies
railway[bot]
6 days ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
6 days ago
Is this still an issue? Looks like you're connecting successfully now so that's a config issue on your end
Status changed to Awaiting User Response railway[bot] • 6 days ago