2 people reported

All time, since Jun 7, 2025.

App dev can't find random port

“Running shopify app dev in using Tanstack Start does not work and throws the Unable to find a random port on any host error.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/shopify/issues/6560/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

App dev fails to find a random port on host. Running shopify app dev errors before starting; seen on a cart transformer extension app and a Tanstack Start app.

Is this your bug?

File my report
Where
Shopify CLI
Error text
Unable to find a random port on host "localhost"
Versions
1.0.0
Platforms
Linux, macOS
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Cloudflare tunnels break app dev3 people

Original reports2, newest first

  1. Unable to find a random port on host "localhost"On GitHubcli #6349
  2. app dev command not working properlyOn GitHubcli #5956

Do you work on Shopify?

Claim its RAP Sheet to see what your users report and answer them in one place.