Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]cannot run dev on remote host #6666

Closed
aunghtain opened this issue Feb 4, 2025 · 1 comment
Closed

[BUG]cannot run dev on remote host #6666

aunghtain opened this issue Feb 4, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@aunghtain
Copy link

Describe the bug

I'm trying to run dev on a remote host. I do 'npm run dev --host 0.0.0.0', but it's still binding to localhost. Here's the output I'm getting

  VITE v4.5.2  ready in 506 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose

I'm using the following versions.
"@refinedev/cli": "^2.16.42",
"@refinedev/core": "^4.57.5",
"@refinedev/devtools": "^1.2.12",

Steps To Reproduce

  1. run 'npm run dev --host 0.0.0.0' in a remote host

Expected behavior

It should bind to 0.0.0.0 (so that it can be accessed from outside)

Packages

    "@refinedev/cli": "^2.16.42",
    "@refinedev/core": "^4.57.5",
    "@refinedev/devtools": "^1.2.12",

Additional Context

No response

@aunghtain aunghtain added the bug Something isn't working label Feb 4, 2025
@BatuhanW
Copy link
Member

BatuhanW commented Feb 4, 2025

@aunghtain please use npm run dev -- --host 0.0.0.0.

@BatuhanW BatuhanW closed this as not planned Won't fix, can't repro, duplicate, stale Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants