[Bugfix] Use host argument to bind to interface#9798
[Bugfix] Use host argument to bind to interface#9798simon-mo merged 1 commit intovllm-project:mainfrom svenseeberg:main
Conversation
|
👋 Hi! Thank you for contributing to the vLLM project. 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:
🚀 |
| parser.add_argument("--host", | ||
| type=nullable_str, | ||
| default=None, | ||
| default="0.0.0.0", |
There was a problem hiding this comment.
IMHO this should be set to default="127.0.0.1",. However, this would be a breaking change and should be introduced carefully.
There was a problem hiding this comment.
Thank you for the consideration not breaking compatibility!
| parser.add_argument("--host", | ||
| type=nullable_str, | ||
| default=None, | ||
| default="0.0.0.0", |
There was a problem hiding this comment.
Thank you for the consideration not breaking compatibility!
Signed-off-by: Randall Smith <Randall.Smith@amd.com>
Signed-off-by: Loc Huynh <jc1da.3011@gmail.com>
…#9798)" (vllm-project#9852) Signed-off-by: Loc Huynh <jc1da.3011@gmail.com>
Signed-off-by: Sumit Dubey <sumit.dubey2@ibm.com>
…#9798)" (vllm-project#9852) Signed-off-by: Sumit Dubey <sumit.dubey2@ibm.com>
…#9798)" (vllm-project#9852) Signed-off-by: s.kochetkov <s.m.kochetkov@tcsbank.ru>
Signed-off-by: LeiWang1999 <leiwang1999@outlook.com>
…#9798)" (vllm-project#9852) Signed-off-by: LeiWang1999 <leiwang1999@outlook.com>
From what I can gather from the documentation, the
--hostargument 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 forargs.hostto0.0.0.0. However, I think the default value SHOULD be127.0.0.1as missing this setting can result in severe misconfiguration of services.FIX #9797