首页 文章

远程ArangoDB访问

提问于
浏览
0

我正在尝试访问远程ArangoDb安装(在Windows服务器上) .

我已经尝试更改arangod.conf中的 endpoints ,如另一篇文章here中所述,但是一旦我这样做,数据库就会在远程和本地停止响应 .

我希望能够远程执行以下操作:

2 回答

  • 1

    很久以来我回到了这里 . 感谢之前的评论,我能够解决这个问题 .

    要编辑的文件是arangod.conf . 在位于以下位置的Windows机器上:

    C:\Program Files\ArangoDB 2.6.9\etc\arangodb\arangod.conf
    

    [server]部分下的评论有所帮助 . 我将 endpoints 更改为我的服务器的IP地址(底线)

    [server]
    # Specify the endpoint for HTTP requests by clients.
    #  tcp://ipv4-address:port
    #  tcp://[ipv6-address]:port
    #  ssl://ipv4-address:port
    #  ssl://[ipv6-address]:port
    #  unix:///path/to/socket
    #
    # Examples:
    #   endpoint = tcp://0.0.0.0:8529
    #   endpoint = tcp://127.0.0.1:8529
    #   endpoint = tcp://localhost:8529
    #   endpoint = tcp://myserver.arangodb.com:8529
    #   endpoint = tcp://[::]:8529
    #   endpoint = tcp://[fe80::21a:5df1:aede:98cf]:8529
    #
    
    endpoint = tcp://192.168.0.14:8529
    

    现在,我可以使用上述地址从我的客户端访问服务器 .

  • 2

    请查看managing endpoints文档 . 它解释了如何绑定以及如何检查它是否成功 .

相关问题