Skip to content

Conversation

svenseeberg
Copy link
Contributor

@svenseeberg svenseeberg commented Oct 29, 2024

From what I can gather from the documentation, the --host argument is supposed to bind the process to the interface with the IP address provided as the value.

This passes the IP address to the sock.bind() call. To be compatible to the existing behavior, I set the default value for args.host to 0.0.0.0. However, I think the default value SHOULD be 127.0.0.1 as missing this setting can result in severe misconfiguration of services.

FIX #9797

Copy link

👋 Hi! Thank you for contributing to the vLLM project.
Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can do one of these:

  • Add ready label to the PR
  • Enable auto-merge.

🚀

@mergify mergify bot added the frontend label Oct 29, 2024
parser.add_argument("--host",
type=nullable_str,
default=None,
default="0.0.0.0",
Copy link
Contributor Author

@svenseeberg svenseeberg Oct 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO this should be set to default="127.0.0.1",. However, this would be a breaking change and should be introduced carefully.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the consideration not breaking compatibility!

parser.add_argument("--host",
type=nullable_str,
default=None,
default="0.0.0.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the consideration not breaking compatibility!

@simon-mo simon-mo merged commit 0f43387 into vllm-project:main Oct 29, 2024
31 of 32 checks passed
khluu added a commit that referenced this pull request Oct 30, 2024
rasmith pushed a commit to rasmith/vllm that referenced this pull request Oct 30, 2024
JC1DA pushed a commit to JC1DA/vllm that referenced this pull request Nov 11, 2024
JC1DA pushed a commit to JC1DA/vllm that referenced this pull request Nov 11, 2024
sumitd2 pushed a commit to sumitd2/vllm that referenced this pull request Nov 14, 2024
sumitd2 pushed a commit to sumitd2/vllm that referenced this pull request Nov 14, 2024
sleepwalker2017 pushed a commit to sleepwalker2017/vllm that referenced this pull request Dec 13, 2024
sergeykochetkov pushed a commit to sergeykochetkov/vllm_spec_decoding that referenced this pull request Dec 27, 2024
LeiWang1999 pushed a commit to LeiWang1999/vllm-bitblas that referenced this pull request Mar 26, 2025
LeiWang1999 pushed a commit to LeiWang1999/vllm-bitblas that referenced this pull request Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Binding to interface with --host argument fails
2 participants