Skip to content

Comments

Add --host and --port command-line parameters to app.py#22

Open
IntegralProgrammer wants to merge 2 commits intodata-team-uhn:masterfrom
IntegralProgrammer:send-to-upstream_feature-host_port_parameters
Open

Add --host and --port command-line parameters to app.py#22
IntegralProgrammer wants to merge 2 commits intodata-team-uhn:masterfrom
IntegralProgrammer:send-to-upstream_feature-host_port_parameters

Conversation

@IntegralProgrammer
Copy link
Member

Adds the --host and --port command-line arguments to app.py so that it can listen on a specific interface and on a specific port. If --host is not specified it defaults to 127.0.0.1. If --port is not specified it defaults to 5000. Therefore if neither --host nor --port are specified, no new behavior is introduced to app.py as it, just like before, listens for requests on 127.0.0.1:5000.

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

Successfully merging this pull request may close these issues.

1 participant