如何处理Apache IoTDB使用rest api主动拒绝连接问题?

问题描述 投票:0回答:1

我正在尝试使用 REST API 连接 Apache IoTDB 服务器,并且不断报告

failed to connect to iotdb service. Get "http://172.16.10.101:18080/grafana/v1/login". dial tcp 172.16.10.101:18080: connectex: No connection could be made because the target machine actively refused it.
我的系统中没有设置防火墙,并且REST API服务配置已经设置为true。有谁知道可能导致此问题的其他原因吗?

apache-iotdb iotdb
1个回答
0
投票

您是否开启了 REST API 服务?您可以尝试在浏览器中输入

http://172.16.10.101:18080/ping
看看是否可以访问。如果您无法访问此页面,则说明您的 REST 服务尚未打开,您将收到您提到的错误。另外,修改配置后,需要重启Apache IoTDB,所以可以尝试重启数据库再尝试。

最新问题
© www.soinside.com 2019 - 2024. All rights reserved.