0 Replies Latest reply on Mar 16, 2015 10:23 PM by tom joy

    how to connect a remote VDB

    tom joy Newbie

      hello, I have create a VDB ,and I can read data from the VDB. but when other host want to connect my VDB , there are a error. this is error log:

      严重: Could not create connection

      org.teiid.jdbc.TeiidSQLException: TEIID20020 Error establishing socket to host and port: Reason: Connection refused: connect

        at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:135)

        at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:71)

        at org.teiid.jdbc.SocketProfile.connect(SocketProfile.java:56)

        at org.teiid.jdbc.TeiidDriver.connect(TeiidDriver.java:107)

        at org.teiid.jdbc.TeiidDriver.connect(TeiidDriver.java:55)

        at java.sql.DriverManager.getConnection(Unknown Source)

        at java.sql.DriverManager.getConnection(Unknown Source)

        at com.wbl.VDBtest.connect.VDBtest.getDriverConnection(VDBtest.java:19)

        at com.wbl.VDBtest.connect.VDBtest.main(VDBtest.java:63)


      thanks for you help