0
我已經安裝在VMwere windows8的Teradata的VMware的Teradata數據庫以下波紋管鏈接無法連接從Windows 8(主機)的Java應用程序
現在我嘗試連接從窗戶分貝Java應用程序,但我無法連接它。 以下憑據
con = DriverManager.getConnection("jdbc:teradata://192.168.10.182:1025/database=DBC", "dbc", "dbc");
越來越例外,我已經給像
2016-06-09.13:15:42.126 TERAJDBC4 ERROR [main]
[email protected] Connection to 192.168.128.128:1025 Thu Jun 09 13:15:42 IST 2016
socket orig=192.168.128.128:1025 cid=cd63cd3 sess=0 java.net.UnknownHostException: 192.168.128.128:1025: invalid IPv6 address
at java.net.InetAddress.getAllByName(InetAddress.java:1141) at java.net.InetAddress.getAllByName(InetAddress.java:1098)
at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF$Lookup.<init>(TDNetworkIOIF.java:201) at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.connectToHost
(TDNetworkIOIF.java:301) at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.createSocketConnection(TDNetworkIOIF.java:149)
at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.<init>(TDNetworkIOIF.java:135)
at com.teradata.jdbc.jdbc.GenericTeradataConnection.getIO(GenericTeradataConnection.java:130)
at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:98) at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:207)
at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.<init>(JDK6_SQL_Connection.java:35)
at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructSQLConnection(JDK6ConnectionFactory.java:25)
at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:179)
at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:169)
at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:234)
at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:160)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:215)
at xteradatademo.TeradataExampl.buildCon(TeradataExampl.java:33)
at xteradatademo.TeradataExampl.main(TeradataExampl.java:19)
任何一個可以請幫助我。
它沒有端口號 –