The documentation tells you to use the URL:jdbc:postgresql://hostport/database,the actual URL should contain a ':' between the host and port parts.