You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so i have 2 aws ec2
1st ec2 -- coollify (at coolify.mydomain.com) that controls 2nd ec2
2nd ec2 -- nextjs using drizzle (at mydomain.com)
this is part of the package.json of nextjs
"db:studio": "drizzle-kit studio --verbose --host mydomain.com --port 3001"
but i get this error
Post-deployment command failed.
$ drizzle-kit studio --verbose --host mydomain.com --port 3001 No config path provided, using default 'drizzle.config.ts'Reading config file '/app/drizzle.config.ts'Using 'pg' driver fordatabase queryingWarning Drizzle Studio is currentlyin Beta. If you find anything that is not working as expected or should be improved, feel free to create an issue on GitHub: https://github.com/drizzle-team/drizzle-kit-mirror/issues/new or write to us on Discord: https://discord.gg/WcRKz2FFxNnode:events:495
throw er; // Unhandled 'error' event
^
Error: listen EADDRNOTAVAIL: address not available 2ndec2privateip:3001
at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
at __node_internal_uvExceptionWithHostPort (node:internal/errors:593:12)
at Server.setupListenHandle [as _listen2] (node:net:1800:21)
at listenInCluster (node:net:1865:12)
at GetAddrInfoReqWrap.doListen [as callback] (node:net:2014:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:8)
at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:128:17)
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1844:8)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'EADDRNOTAVAIL',
errno: -99,
syscall: 'listen',
address: '2ndec2privateip',
port: 3001
}
Node.js v18.20.2error: script "db:studio" exited with code 1
I just want somewhere to access my drizzle studio or like a table viewer something like this https://demo.drizzle.studio/.
The text was updated successfully, but these errors were encountered:
so i have 2 aws ec2
1st ec2 -- coollify (at coolify.mydomain.com) that controls 2nd ec2
2nd ec2 -- nextjs using drizzle (at mydomain.com)
this is part of the package.json of nextjs
but i get this error
I just want somewhere to access my drizzle studio or like a table viewer something like this https://demo.drizzle.studio/.
The text was updated successfully, but these errors were encountered: