Ports are not available
wwjCMP opened this issue · comments
[+] Running 3/3
✔ Network langflow-0616_langflow Created 0.1s
✔ Container langflow-0616-backend-1 Created 0.3s
✔ Container langflow-0616-frontend-1 Created 0.1s
Attaching to backend-1, frontend-1
Gracefully stopping... (press Ctrl+C again to force)
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:7860 -> 0.0.0.0:0: listen tcp 0.0.0.0:7860: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
I encountered the above error while installing with Docker on Windows. How can I resolve this? Thanks
LANGFLOW_DATABASE_URL=sqlite:///./langflow.db
LANGFLOW_LANGCHAIN_CACHE=SQLiteCache
LANGFLOW_HOST=127.0.0.1
LANGFLOW_WORKERS=1
LANGFLOW_PORT=7866
LANGFLOW_LOG_LEVEL=critical
LANGFLOW_LOG_FILE=logs/langflow.log
LANGFLOW_FRONTEND_PATH=/path/to/frontend/build/files
LANGFLOW_OPEN_BROWSER=true
LANGFLOW_REMOVE_API_KEYS=false
LANGFLOW_CACHE_TYPE=memory
LANGFLOW_SUPERUSER=QAQ
LANGFLOW_SUPERUSER_PASSWORD=123456
The above is my environment setup.
The LANGFLOW_FRONTEND_PATH variable should point to the actual LangFlow frontend folder.