drizzle studio in vps

hello there, i use vps, connect it with vscode tunnel, when i run pnpm drizzle-kit studio --host 0.0.0.0 tunnel forward port, and when i visit that forwarded port url, instead of studio ui i get '404 Not Found'
4 Replies
Dreamgineer
Dreamgineer2mo ago
That port wasn't meant to be opened. It's only a backend service to be used with an actual drizzle studio UI at https://local.drizzle.studio. When you start drizzle studio, it should print out the link above that you can open to use studio.
M Zeeshan
M ZeeshanOP2mo ago
Hi @Dreamgineer how can i use forwarded backend port url instead of default port
Dreamgineer
Dreamgineer2mo ago
https://local.drizzle.studio?host=(url) If it's forwarded to a port other than 4983 you'll also need ?host=(url)&port=(port). For cloudflare tunnel it would use 80 or 443.
M Zeeshan
M ZeeshanOP2mo ago
thx, i will try it

Did you find this page helpful?