Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wondows 环境 docker destop 安装后 访问数据库报错,ErrBadRequest::failed to find IP, error: lookup graphd on 127.0.0.11:53: no such host #798

Open
xtntrna opened this issue Jul 29, 2024 · 6 comments

Comments

@xtntrna
Copy link

xtntrna commented Jul 29, 2024

  1. 数据库 使用 docker 安装已经启动

image

  1. 使用 nebula-console 可以正常登录, 数据库查询也正常

image

  1. 用程序 调用api 也正常。
    127.0.0.1 9669 访问正常。
    assert self.connection_pool.init([(sip, nport)])
    self.client = self.connection_pool.get_session("root", "nebula")

  2. 按照文档说明 [Docker 部署 Studio]

image

image

最后访问数据库报错。

image

以下是nebula-graph-studio 容器内的输出

image

@wey-gu
Copy link
Contributor

wey-gu commented Jul 30, 2024

docker desktop 已经内置 studio 啦,不用再安装了哈

@xtntrna
Copy link
Author

xtntrna commented Jul 30, 2024

好的,谢谢,已经安装到wsl 了,感觉比docker 的还更方便一点。哈哈

@yusangeng
Copy link

请问这个应该如何修正?是说我用docker-compose启动的nebula-graph之后,就不用再启动studio了吗?

我现在也遇到了同样的问题,但是我看nebula-graph3.8的docker-compose配置里面没有7001这个端口啊,内置的studio应该如何访问呢?

@yusangeng
Copy link

好的,谢谢,已经安装到wsl 了,感觉比docker 的还更方便一点。哈哈

请问这个最终是如何解决的?上面的留言没看懂。

@yusangeng
Copy link

docker desktop 已经内置 studio 啦,不用再安装了哈

请问内置的版本,服务端口是多少?我访问7001访问不到。

@zovzov
Copy link

zovzov commented Oct 15, 2024

这个访问的ip地址必须是一个内网IP,所以你把本机的内网ip填进去就好了,我是这么解决的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants