[英]ArangoDB: 'Could not connect to 'tcp://127.0.0.1:8529' 'connect() failed with #10061
Sometimes my ArangoDB is going down with next error: Error message 'Could not connect to 'tcp://127.0.0.1:8529' 'connect() failed with #10061
I can't understand the reason. 有时我的ArangoDB崩溃并出现下一个错误:
Error message 'Could not connect to 'tcp://127.0.0.1:8529' 'connect() failed with #10061
我无法理解原因。 It's look like I am turning on my PC and nothing do not work. 看来我正在打开PC,但没有任何反应。 Before I fixed this problem with reinstall, but is there any better solution?
在通过重新安装解决此问题之前,是否有更好的解决方案?
OS Windows ArangoDB 2.8.7 操作系统Windows ArangoDB 2.8.7
The V8 version used in the pre ArangoDB 3 had occasional troubles in the garbage collection which would make ArangoDB in term go down. 在ArangoDB 3之前的版本中使用的V8版本偶尔会出现垃圾回收问题,这将使ArangoDB长期处于崩溃状态。
This is fixed with ArangoDB 3. ArangoDB 3已修复该问题。
Please upgrade your installation, and report back whether the problem still persists. 请升级您的安装,并报告问题是否仍然存在。
You can use netstat to check whether ArangoDB is listening to its default port 8529
: 您可以使用netstat检查ArangoDB是否正在监听其默认端口
8529
:
netstat -a
Active Connections
Proto Lokale Adresse Remoteadresse Status
...
TCP 127.0.0.1:8529 meschenich:0 LISTEN
...
If thats not the case, your client has nothing to connect to. 如果不是这种情况,则您的客户端没有任何连接。
This could be due to firewall of an antivirus. 这可能是由于防病毒防火墙引起的。 In my case it was Avast antivirus that was blocking connecting to that port.
以我为例,是Avast防病毒软件阻止了该端口的连接。
I disabled all the antivirus shields and checked loading arangodb web server http://127.0.0.1:8529 我禁用了所有防病毒防护程序,并检查了如何加载arangodb Web服务器http://127.0.0.1:8529
It connects after few minutes. 几分钟后连接。
Reference : No connection could be made because the target machine actively refused it 参考: 由于目标计算机主动拒绝连接,因此无法建立连接
我通过重新启动Windows解决了该问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.