qdrant: Error while starting REST server: Address in use (os error 98) Error: Ad...
错误信息
2025-09-28T09:46:32.174006Z ERROR qdrant: Error while starting REST server: Address in use (os error 98)
Error: Address in use (os error 98)
AI 解决方案
2025-09-28T09:46:32.174006Z ERROR qdrant: Error while starting REST server: Address in use (os error 98)
Error: Address in use (os error 98)
原因分析
指定的网络地址(IP和端口)已经被另一个进程占用,导致Qdrant无法启动其REST服务器。
解决方案
在Linux/macOS:
sudo lsof -i :6333 (假设Qdrant默认使用6333端口,如果报错信息有指定其他端口请替换)在Windows:
netstat -ano | findstr :6333找到占用进程的PID,然后使用
kill -9 <PID> (Linux/macOS) 或 taskkill /F /PID <PID> (Windows) 来终止它。预防措施
在启动Qdrant服务前,检查目标端口是否已被占用。