gpt4 book ai didi

node.js - 弹性转储 : dump ended with error (get phase) => Error: conn ect ECONNREFUSED MY_IP:PORT

转载 作者:太空宇宙 更新时间:2023-11-03 22:28:34 25 4
gpt4 key购买 nike

当我使用 localhost 作为 IP 地址时,它按预期工作

C:\Users\Lenovo>elasticdump --input=http://localhost:9200/wellnessservices --out
put=http://192.168.2.87:9200/wellnessservices --type=mapping
Tue, 10 Jan 2017 09:56:47 GMT | starting dump
Tue, 10 Jan 2017 09:56:47 GMT | got 1 objects from source elasticsearch (offset:
0)
Tue, 10 Jan 2017 09:56:47 GMT | sent 1 objects to destination elasticsearch, wro
te 1
Tue, 10 Jan 2017 09:56:47 GMT | got 0 objects from source elasticsearch (offset:
1)
Tue, 10 Jan 2017 09:56:47 GMT | Total Writes: 1
Tue, 10 Jan 2017 09:56:47 GMT | dump complete

但是当我为同一个本地主机指定 IP 地址时,我收到如下所示的错误

C:\Users\Lenovo>elasticdump --input=http://192.168.2.83:9200/wellnessservices --
output=http://192.168.2.87:9200/wellnessservices --type=mapping
Tue, 10 Jan 2017 10:02:51 GMT | starting dump
Tue, 10 Jan 2017 10:02:52 GMT | Error Emitted => connect ECONNREFUSED 192.168.2.
83:9200
Tue, 10 Jan 2017 10:02:52 GMT | Total Writes: 0
Tue, 10 Jan 2017 10:02:52 GMT | dump ended with error (get phase) => Error: conn
ect ECONNREFUSED 192.168.2.83:9200

最佳答案

我也遇到同样的问题。应该不是socket的问题,因为我在命令中添加了--maxSockets=5。

Fri, 20 Jan 2017 20:32:53 GMT | Error Emitted => connect ECONNREFUSED <IP>
Fri, 20 Jan 2017 20:32:53 GMT | Total Writes: 166700
Fri, 20 Jan 2017 20:32:53 GMT | dump ended with error (set phase) => Error: connect ECONNREFUSED <IP>

关于node.js - 弹性转储 : dump ended with error (get phase) => Error: conn ect ECONNREFUSED MY_IP:PORT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41566327/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com