1 2 Previous Next 18 Replies Latest reply on Mar 23, 2015 10:56 PM by tom joy

    Remote connection to Teiid Server fails

    tom joy Newbie

      When I try to connect to the the VDB remotely using the Java code, it fails with the below error.  I could able to connect locally using localhost, but it fails remotely.

           SEVERE: Could not create connection

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

           The java used is :

      private static final String JDBC_URL = "jdbc:teiid:Book@mm://;version=1";

        public Connection getDriverConnection() throws Exception{


        return DriverManager.getConnection(VDBtest.JDBC_URL,"user","user");



      The standalone.xml of server is :


              <interface name="management">

                  <inet-address value="${jboss.bind.address.management:}"/>


              <interface name="public">

                  <inet-address value="${jboss.bind.address:}"/>


              <interface name="unsecure">

                  <inet-address value="${jboss.bind.address.unsecure:}"/>




        1 2 Previous Next