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

runsslserver with ipv4 addrport not recognized #106

Open
abhivemp opened this issue Aug 12, 2021 · 1 comment
Open

runsslserver with ipv4 addrport not recognized #106

abhivemp opened this issue Aug 12, 2021 · 1 comment

Comments

@abhivemp
Copy link

I read in #25 by @adam-stokes that using --addrport <address> should allow the django sslserver to run on that host. However, when I run this command:

$ python manage.py runsslserver --certificate cert.crt --key key.key --addrport 172.1.1.1:8000

I get this:

usage: manage.py runsslserver [-h] [--ipv6] [--nothreading] [--noreload]
                              [--certificate CERTIFICATE] [--key KEY]
                              [--nostatic] [--static] [--version]
                              [-v {0,1,2,3}] [--settings SETTINGS]
                              [--pythonpath PYTHONPATH] [--traceback]
                              [--no-color] [--force-color]
                              [addrport]

I tried modifying --addrport with 1 or no hyphens but no luck. Any help?

Thanks~

@elimelecl
Copy link

try: $ python manage.py runsslserver 172.1.1.1:8000 --certificate cert.crt --key key.key

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