postgres missing exposed ports

I run the stack locally for testing via the supabase cli. When looking at the docker containers, the postgres one is expected to have its internal port exposed externally on 54322 however its not showing a) The docher run command is correct: -p 54322:5432 b) Supabase status shows the expected postgresql://postgres:postgres@127.0.0.1:54322/postgres c) netstat -an missing the port LISTEN mode d) Same thing in docker desktop the port is not opened I cannot reach it (see docker desktop screenshot) supabase cli version pnpm supabase --version 2.34.3 $ pnpm supabase status Stopped services: [supabase_imgproxy_supabase supabase_pooler_supabase] supabase local development setup is running. API URL: http://127.0.0.1:54321 GraphQL URL: http://127.0.0.1:54321/graphql/v1 S3 Storage URL: http://127.0.0.1:54321/storage/v1/s3 DB URL: postgresql://postgres:postgres@127.0.0.1:54322/postgres Studio URL: http://127.0.0.1:54323 Inbucket URL: http://127.0.0.1:54324 I'm running it inside WSL on windows and my docker is windows based. That used to work until I updated to the latest cli version.
No description
2 Replies
peaches
peachesOP2w ago
ah! it was being held by windows: Get-NetTCPConnection -LocalPort 54322 | Select-Object LocalPort, OwningProcess, State LocalPort OwningProcess State --------- ------------- ----- 54322 5820 Listen
silentworks
silentworks2w ago
I was going to ask if you tried to connect to it with a GUI database tool as this has always worked for me on Windows with WSL2.

Did you find this page helpful?