org.postgresql.util.PSQLException: Connexion refusÚe. VÚrifiez que le nom de mac
hine et le port sont corrects et que postmaster accepte les connexions TCP/IP.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Conne
ctionFactoryImpl.java:136)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactor
y.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Conn
ection.java:125)
at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Conn
ection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
at administrateur.Connect.main(Connect.java:21)
at administrateur.Fenetre.<init>(Fenetre.java:20)
at administrateur.TestFenetreAdministrateur.main(TestFenetreAdministrate
ur.java:7)
at TestAdmin.main(TestAdmin.java:10)
at java.
net.
PlainSocketImpl.
socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.
net.
Socket.
connect(Unknown Source
) at java.
net.
Socket.
connect(Unknown Source
) at java.
net.
Socket.<init>
(Unknown Source
) at java.
net.
Socket.<init>
(Unknown Source
) at org.postgresql.core.PGStream.<init>(PGStream.java:62)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Conne
ctionFactoryImpl.java:76)