DB2 for Linux/UNIX/Windows Syntax jdbc:datadirect:db2://hostname:port;DatabaseName=value[;property=value[;...]] where: hostname is the IP address or TCP/IP host name of the server to which you are connecting. See Using IP Addresses for details on using IP addresses. port is the number of the TCP/IP port. property=value specifies connection properties. For a list of connection properties and their valid values, see Connection Properties. Notes Untrusted applets cannot open a socket to a machine other than the originating host. Example jdbc:datadirect:db2://server1:50000;DatabaseName=jdbc;User=test;Password=secret