The documentation tells you to use the URL: jdbc:postgresql://hostport/database, the actual URL should contain a ':' between the host and port parts.
pgsql-docs by date:
Соглашаюсь с условиями обработки персональных данных