首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >库伯-阿兰戈布:无法与“阿兰戈什”连接。

库伯-阿兰戈布:无法与“阿兰戈什”连接。
EN

Stack Overflow用户
提问于 2022-09-19 16:19:49
回答 1查看 35关注 0票数 1

我正在使用arango-single-server的迷你库。使用kubectl安装的方法如下:https://www.arangodb.com/docs/stable/tutorials-kubernetes.html

在错误消息之后:

代码语言:javascript
复制
➜ kubectl exec -it arango-single-server-sngl-d0leq3in-d9649f -- arangosh --server.endpoint "tcp://localhost:8529" --server.database "_system" 
Defaulted container "server" out of: server, init-lifecycle (init), uuid (init)
Please specify a password: 

                                       _     
  __ _ _ __ __ _ _ __   __ _  ___  ___| |__  
 / _` | '__/ _` | '_ \ / _` |/ _ \/ __| '_ \ 
| (_| | | | (_| | | | | (_| | (_) \__ \ | | |
 \__,_|_|  \__,_|_| |_|\__, |\___/|___/_| |_|
                       |___/                 

arangosh (ArangoDB 3.9.3 [linux] 64bit, using jemalloc, build tags/v3.9.3-0-gb9cd8359a1a, VPack 0.1.35, RocksDB 6.27.0, ICU 64.2, V8 7.9.317, OpenSSL 1.1.1q  5 Jul 2022)
Copyright (c) ArangoDB GmbH

Command-line history will be persisted when the shell is exited. You can use `--console.history false` to turn this off
Could not connect to endpoint 'tcp://localhost:8529', database: '_system', username: 'root'
Error message: 'Connection closed'

localhost:8529@_system> 

跟踪netstat的结果;

代码语言:javascript
复制
➜  kubectl exec -it arango-single-server-sngl-d0leq3in-d9649f -- netstat -a                                                                    
Defaulted container "server" out of: server, init-lifecycle (init), uuid (init)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 localhost:56568         localhost:8529          ESTABLISHED 
tcp        0      0 :::8529                 :::*                    LISTEN      
tcp        0      0 localhost:8529          localhost:56568         ESTABLISHED 
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  3      [ ]         DGRAM                    3845565 
unix  3      [ ]         DGRAM                    3845564 

知道吗,有什么问题吗?

我可以访问gui接口。

EN

Stack Overflow用户

发布于 2022-09-20 08:27:14

它的工作方式是将--server.endpoint "https://localhost:8529"--server.endpoint "http+ssl://localhost:8529"替换为--server.endpoint "tcp://localhost:8529"

我得到了https://www.arangodb.com/docs/stable/programs-arangosh-examples.html的帮助

票数 2
EN
查看全部 1 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73776449

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档