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: "Serving at" IP address doesn't reflect "--addr" passed #3836

Open
luisschwab opened this issue Mar 6, 2025 · 0 comments
Open

bug: "Serving at" IP address doesn't reflect "--addr" passed #3836

luisschwab opened this issue Mar 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@luisschwab
Copy link

Problem

The address passed via --addr doesn't show up on the Serving at: section; it's always 127.0.0.1.

~$ dx serve --addr 0.0.0.0
10:12:28 [dev] -----------------------------------------------------------------
                Serving your Dioxus app: scrow
                • Press `ctrl+c` to exit the server
                • Press `r` to rebuild the app
                • Press `p` to toggle automatic rebuilds
                • Press `v` to toggle verbose logging
                • Press `/` for more commands and shortcuts
                Learn more at https://dioxuslabs.com/learn/0.6/getting_started
               ---------------------------------------------------------------- 
10:12:36 [dev] Build completed successfully in 264ms, launching app! 💫
╭────────────────────────────────────────────────────────────────────────────────────────── /:more ╮
│  App:     ━━━━━━━━━━━━━━━━━━━━━━━━━━  🎉 0.3s      Platform: Web                                 │
│  Bundle:  ━━━━━━━━━━━━━━━━━━━━━━━━━━  🎉 7.2s      App features: ["web"]                         │
│  Status:  Serving scrow 🚀 7.5s                    Serving at: http://127.0.0.1:8080             │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯

Steps To Reproduce

Steps to reproduce the behavior:

  • dx serve --addr 0.0.0.0

Expected behavior

It should say Serving at: 0.0.0.0:8080

Environment:

  • Dioxus version: dioxus 0.6.3
  • Rust version: rustc 1.85.0
  • OS info: arch
  • App platform: N/A
@luisschwab luisschwab added the bug Something isn't working label Mar 6, 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

1 participant