Star

JavaClient连接超时

服务的版本为:1.0.1
java maven依赖为:

com.vesoft
client
1.0.1

报错信息是:
com.facebook.thrift.transport.TTransportException: java.net.SocketTimeoutException: connect timed out
at com.facebook.thrift.transport.TSocket.open(TSocket.java:204)
at com.vesoft.nebula.client.meta.MetaClientImpl.doConnect(MetaClientImpl.java:90)
at com.vesoft.nebula.AbstractClient.connect(AbstractClient.java:93)
at com.dada.md.NebulaTest.main(NebulaTest.java:93)

参数是什么?

GraphClient client = new GraphClientImpl(“10.41.110.43”, 3699)

client.connect();

看起来没什么问题 ping一下看看是不是防火墙的问题?

公司网络权限问题,已解决。感谢~

1赞

浙ICP备20010487号