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

Update default IP to wildcard address per Flask Server documentation #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

clovisd
Copy link

@clovisd clovisd commented Dec 14, 2023

No description provided.

@billyjbryant
Copy link
Contributor

The default IP is reserved to localhost on purpose, as this prevents accidental exposure of the service and lets you control it via configuration.

@billyjbryant
Copy link
Contributor

This does not prevent you from exposing the Flask service to an external service via Docker should you choose to do a Docker port map from host to container.

@anselor
Copy link

anselor commented Mar 13, 2024

Docker port forwards cannot be used when network mode is set to host.

@anselor
Copy link

anselor commented Mar 14, 2024

Just a note. My changes in PR #155 allows the bind address to be optionally parameterized and supersedes the changes in this PR.

@anselor anselor mentioned this pull request May 25, 2024
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.

3 participants