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

When using --fd 0, daphne still listen on 127.0.0.1:8000 #234

Closed
sprat opened this issue Nov 19, 2018 · 2 comments
Closed

When using --fd 0, daphne still listen on 127.0.0.1:8000 #234

sprat opened this issue Nov 19, 2018 · 2 comments

Comments

@sprat
Copy link
Contributor

sprat commented Nov 19, 2018

When you pass --fd 0 on the command line, daphne still listens on 127.0.0.1:8000. It's is due to a bad test on args.file_descriptor in CommandLineInterface.run method when providing default host and port.

This was referenced Nov 19, 2018
@sprat
Copy link
Contributor Author

sprat commented Nov 19, 2018

A workaround before it is fixed: use --endpoint fd:fileno=0 instead of --fd 0

@pbxue
Copy link

pbxue commented Jan 6, 2020

如何使用daphne的FCGI-PROGAM启动多个https进程? 配置改怎么写

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

No branches or pull requests

2 participants