ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]:

Open Cjansuo opened this issue 11 months ago • 7 comments

Why Container ragflow-es-01 and Container ragflow-server not Running

我想问下Container ragflow-es-01 Container ragflow-server 这两个不能Running的原因是啥? time="2025-02-10T13:42:22+08:00" level=warning msg="The "HF_ENDPOINT" variable is not set. Defaulting to a blank string." time="2025-02-10T13:42:22+08:00" level=warning msg="The "MACOS" variable is not set. Defaulting to a blank string." [+] Running 3/5 ✔ Container ragflow-minio Running 0.0s ✔ Container ragflow-mysql Healthy 3.5s ✔ Container ragflow-redis Running 0.0s

  • Container ragflow-es-01 Starting 0.5s
  • Container ragflow-server Starting 0.0s Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:1200 -> 127.0.0.1:0: listen tcp 0.0.0.0:1200: bind: An attempt was made to access a socket in a way forbidden by its access permissions. PS F:\ragflow-main\ragflow>

Cjansuo avatar Feb 10 '25 05:02 Cjansuo

Have a try about increasing MEM_LIMIT in docker/.env

KevinHuSh avatar Feb 11 '25 01:02 KevinHuSh

I have a same question ,waiting for solving

Oii6111 avatar Feb 11 '25 07:02 Oii6111

time="2025-02-10T13:42:22+08:00" level=warning msg="The "HF_ENDPOINT" variable is not set. Defaulting to a blank string." time="2025-02-10T13:42:22+08:00" level=warning msg="The "MACOS" variable is not set. Defaulting to a blank string." 这两行应该就是一个提示,不是端口1200不能绑得上的原因 此外,我关闭了占用1200的应用并且开放了权限后,仍然出现报错 The two lines should just be a warning; they are not the reason why port 1200 cannot be bound. After I closed the application occupying port 1200 and granted the necessary permissions, the above warning still appeared.

Oii6111 avatar Feb 11 '25 07:02 Oii6111

Have a try about increasing MEM_LIMIT in docker/.env I check my file docker/.env MEM_LIMIT=8073741824 Should I continue to increase it?

Oii6111 avatar Feb 11 '25 07:02 Oii6111

Due to your system security policy, 1200 can not been open and bind.

KevinHuSh avatar Feb 12 '25 03:02 KevinHuSh

same question. windows 11 dockerhub installed

errormsg: d:\ragflow-main>docker compose -f docker/docker-compose.yml up -d time="2025-02-17T09:11:42+08:00" level=warning msg="The "HF_ENDPOINT" variable is not set. Defaulting to a blank string." time="2025-02-17T09:11:42+08:00" level=warning msg="The "MACOS" variable is not set. Defaulting to a blank string." [+] Running 4/5 ✔ Container ragflow-minio Running 0.0s ✔ Container ragflow-redis Running 0.0s ✔ Container ragflow-mysql Healthy 3.5s ✔ Container ragflow-server Running 0.0s

  • Container ragflow-es-01 Starting 0.5s Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:1200 -> 127.0.0.1:0: listen tcp 0.0.0.0:1200: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

anybody knows the solution?

Lynnhs1n avatar Feb 17 '25 01:02 Lynnhs1n

i figure it out:

  1. net stop winnat
  2. start ragflow-es-01
  3. net start winnat

done

Lynnhs1n avatar Feb 17 '25 12:02 Lynnhs1n

Hey dude, I think you should use sudo netstat -tuln | grep ':1200\b' to check if the port

jeerychao avatar Apr 10 '25 04:04 jeerychao

Edit file [.env]

# ES_PORT=1200 
ES_PORT=12000

then retry

jiangjiongGitHub avatar Aug 28 '25 05:08 jiangjiongGitHub