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

IPv6 Support for Marzban-Node #1347

Open
Ashaxer opened this issue Oct 7, 2024 · 2 comments
Open

IPv6 Support for Marzban-Node #1347

Ashaxer opened this issue Oct 7, 2024 · 2 comments
Labels

Comments

@Ashaxer
Copy link

Ashaxer commented Oct 7, 2024

In main.py file inside Marzban-Node docker container, "0.0.0.0" is used as host in uvicorn.run()
Please make it configurable with .env (just like main Marzban) or change it to "::" to make it listen to IPv6 network Interface too.

@fodhelper
Copy link
Contributor

Are you sure "::" makes it to listen to both IP versions?
some users at uvicorn repo said it must be like uvicorn.run(app, host=["::", "0.0.0.0"], port=8080)

anyway, you can PR it to https://github.com/Gozargah/Marzban-node

@Ashaxer
Copy link
Author

Ashaxer commented Oct 11, 2024

I can't PR, I'm newbie in these things. I cannot even fix it on my own server...
It will be appreciated if you do it.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants