-
-
Notifications
You must be signed in to change notification settings - Fork 830
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
Allow binding to 0.0.0.0 #2989
Comments
Are you using |
Yes I do, the project doesn't compile without |
It is a common issue for users to run their app with The CLI at one point did bind to You can build your app with Our docs aren't the best and we've already started a full overhaul for the 0.6 release. |
Gosh, none of these helped. Fix your shit please. My solution is recursively replace every occurence of 127.0.0.1 with 0.0.0.0 in your repo. You need to understand that not everyone runs Nginx and your app on the same localhost. |
Closing this as already implemented and ready for 0.6: On 0.6 |
hi @DogeDark , Thank you for building this amazing crate. The same issue of not being able to bind 0.0.0.0 brought me here, but I think most people understand this is an open source project and they have the patient to wait or the ability to modify the code by themselves. |
I tried from fresh Git clone, version 0.6+, your stuff ignores @gengjun if you really need to get it working ASAP I suggest you running the following process:
This process will bind to 0.0.0.0:9999 and proxy all connections to 127.0.0.1:8080 so that you can connect to your app from external source via port 9999. |
@gemtoo This is not a good way to use issues:
|
@ealmloff -3. You're right. It is that project. It uses -2. Finally, reproduction steps:
2.3. While in $PWD build and run:
2.4. Try to access an app from the browser via its external bound socket.
2.5. Proceed into the Docker container as follows:
Then execute next
and get a valid response from a working app. Now that I have provided sufficient information on how to reproduce this behaviour, I am out of this conversation. Despite horrible bugs, Dioxus is still the most promising GUI framework for Rust. Good luck and see ya. |
Hi, I need to run a Dioxus app in Docker but it binds to 127.0.0.1:8080. That means it cannot be easily accessed externally. Please allow binding an app to 0.0.0.0. I haven't found anything related to this in documentation, I've read the source code and it seems like 127.0.0.1 is hardcoded which is not the best design choice.
The text was updated successfully, but these errors were encountered: