lm-sys / lm-sys/FastChat

ERROR | stderr | ERROR: [Errno 99] error while attempting to bind on address ('::1', 21002, 0, 0): cannot assign requested address

Open
#3,475 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

代码:
#!/bin/bash

# 启动控制器
python -m fastchat.serve.controller --host 0.0.0.0 --port 2002 &

# 为模型设置环境变量并启动
export CUDA_VISIBLE_DEVICES=1
python -m fastchat.serve.model_worker --model-path ./bge-large-zh-v1.5 --model-names gpt-4 --controller-address http://0.0.0.0:2002 &

# 启动openai服务器
python -m fastchat.serve.openai_api_server --host 0.0.0.0 --port 2003 --controller-address http://0.0.0.0:2002 &

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the supplied launch script and read the entry points fastchat.serve.controller, fastchat.serve.model_worker, and fastchat.serve.openai_api_server. Trace how their host and port arguments are used when binding, then verify that the services start without the reported Errno 99 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.