简体   繁体   中英

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. It's look like I am turning on my PC and nothing do not work. Before I fixed this problem with reinstall, but is there any better solution?

OS 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.

This is fixed with 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 -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.

I disabled all the antivirus shields and checked loading arangodb web server 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解决了该问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM