If not specified, host defaults to localhost The default port for PostgreSQL is 5432. Usually, if the default port is being used by the database server, the port value of the JDBC url can be omitted.
Examples: jdbc:postgresql://neptune.acme.com:5432/test jdbc:postgresql:test - equivalent to jdbc:postgresql://localhost:5432/test
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.