linux python-sdk使用报错:Connection attempt 2 failed: Failed to connect to ws://localhost:8090/acp: Multiple exceptions: [Errno 111] Connect call failed (‘::1’, 8090, 0,

2025-12-04 10:46:57.953 | INFO | transport:65 - Connecting to ws://localhost:8090/acp
2025-12-04 10:46:57.959 | WARNING | client:217 - Connection attempt 1 failed: Failed to connect to ws://localhost:8090/acp: Multiple exceptions: [Errno 111] Connect call failed (‘::1’, 8090, 0,
2025-12-04 10:46:58.961 | INFO | transport:65 - Connecting to ws://localhost:8090/acp
2025-12-04 10:46:58.964 | WARNING | client:217 - Connection attempt 2 failed: Failed to connect to ws://localhost:8090/acp: Multiple exceptions: [Errno 111] Connect call failed (‘::1’, 8090, 0,
2025-12-04 10:47:00.467 | INFO | transport:65 - Connecting to ws://localhost:8090/acp
2025-12-04 10:47:00.495 | INFO | transport:75 - Connected to ws://localhost:8090/acp
2025-12-04 10:47:00.506 | INFO | protocol:103 - Waiting for //ready signal…
2025-12-04 10:47:00.582 | INFO | protocol:106 - Received //ready signal
2025-12-04 10:47:00.588 | INFO | protocol:138 - Sent initialize request
Failed to connect: Failed to initialize protocol: Failed to receive initialize response

有人给看看这个问题吗

试试IPv4


先ps看一下iflow是不是正常启动了.
netstat -tna看看端口地址.

大概率是ipv4/ipv6的问题.
如果能修改/etc/hosts文件,可以把localhost ipv6绑定去掉看看?