onnection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:167)
Onde configuro isso no linux …
Estou usando o SuSE 9.0…
onnection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:167)
Onde configuro isso no linux …
Estou usando o SuSE 9.0…
Seu PostgreSQL nao esta ligado ou nao esta aceitando conexoes TCP/IP. Tente ativa-lo (/etc/init.d/postgrsql start deve funcionar) ou ativar a opcao -i na inicializacao (para ele “escutar” conexoes TCP/IP).
Marcio Kuchma
Douglas
Nao se esqueca tambem de configurar o arquivo pg_hba.conf com os hosts que terao acesso ao seu banco de dados. No pgAdmin 2 tem uma ferramenta para auxiliar a configuracao desse arquivo.