drizzle-team / drizzle-kit-mirror

Docs and issues repository for drizzle-kit
289 stars 17 forks source link

Drizzle studio doesn't message about localhost, instead 0.0.0.0 #185

Closed janat08 closed 2 months ago

janat08 commented 1 year ago

Drizzle Studio is up and running on http://0.0.0.0:4983

0.0.0.0 isn't something that will work on windows or chrome. I just assumed that something is broken.

deadcoder0904 commented 1 year ago

yes, this is true but if you open up http://localhost:4983, it will work.

however, i'd also like the terminal to print http://localhost:4983 (i don't like 0.0.0.0 for some reason)

and this doesn't print http://localhost:3001 either which i guess it should:

drizzle-kit studio --host localhost --port 3001 --verbose --config drizzle.config.ts

it instead prints http://[::1]:3001 which is weird. idk if this is a syntax for ipv6 or something.

janat08 commented 11 months ago

Doesn't work on windows

On Mon, Oct 23, 2023, 7:51 AM Ryo @.***> wrote:

I am using pnpm package manager and started a local server as pnpm drizzle-kit studio --host 127.0.0.1 and it worked. Maybe [package manager name] drizzle-kit studio --host 127.0.0.1 might work.

— Reply to this email directly, view it on GitHub https://github.com/drizzle-team/drizzle-kit-mirror/issues/185#issuecomment-1774309387, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWP5AJZGSMHITIQUI7XKQ3YAXERRAVCNFSM6AAAAAA4KZPPY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUGMYDSMZYG4 . You are receiving this because you authored the thread.Message ID: @.***>

deadcoder0904 commented 11 months ago

i've used it on both mac & windows. worked fine for me :)

janat08 commented 11 months ago

Then not chrome

On Mon, Oct 23, 2023, 3:29 PM akshay kadam (a2k) @.***> wrote:

i've used it on both mac & windows. worked fine for me :)

— Reply to this email directly, view it on GitHub https://github.com/drizzle-team/drizzle-kit-mirror/issues/185#issuecomment-1774787493, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWP5AOQMFB4HVHSSQ7K7DLYAY2ILAVCNFSM6AAAAAA4KZPPY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUG44DONBZGM . You are receiving this because you authored the thread.Message ID: @.***>

johnsethsalazar commented 7 months ago

You can try this URL: http://127.0.0.1:4983 too. It works for me.

devlopersabbir commented 6 months ago

I'm facing the same problem,

The below window only shows image

abdullahmujahidali commented 6 months ago

same issue

chrisdruta commented 6 months ago

Same for me on windows 10, tried with npm & bun. Think I narrowed it down to inside the certs function under node_modules\drizzle-kit\bin.cjs

if you search for const { key, cert } = await certs() || {}; and remove the await certs() part it works (at least for me)

smrdotgg commented 6 months ago

if you search for const { key, cert } = await certs() || {}; and remove the await certs() part it works (at least for me)

Tried that on my Windows + WSL setup, works like a charm! ❣️

monpy commented 5 months ago

Hi. I have same issues. showing Welcome page and not any changes. I tried my Mac & chrome.

I resolved this issue. try brew install mkcert & mkcert -install

chrome debgguer said RR_BLOCKED_BY_PRIVATE_NETWORK_ACCESS_CHECKS I need mkcert insall same as safari.

shige commented 3 months ago

https://github.com/drizzle-team/drizzle-kit-mirror/issues/185#issuecomment-2081952781

I encountered the same problem and resolved it by executing the following:

brew install mkcert & mkcert -install

Thank you!

sifengjing commented 2 months ago

#185 (comment)

I encountered the same problem and resolved it by executing the following:

brew install mkcert & mkcert -install

Thank you!

I use codespace. I also encounter this problem. But I execute "brew install mkcert & mkcert -install" and it doesn't work. Has anyone encountered this?

janat08 commented 2 months ago

The issue is just about showing the right error message or changing messages about ports used. I’ll close the issue as its relatively evident what’s it’s about, but it got hijacked and is old.

Jordanburch101 commented 1 month ago

Hi. I have same issues. showing Welcome page and not any changes. I tried my Mac & chrome.

I resolved this issue. try brew install mkcert & mkcert -install

chrome debgguer said RR_BLOCKED_BY_PRIVATE_NETWORK_ACCESS_CHECKS I need mkcert insall same as safari.

This worked for me :)