connexion impossible à postgresl

bofxyz

Membre confirmé
26 Juillet 2012
85
1
Bonjour
Mavericks 10.9.4

J'installe postgresql 9.3 avec l'installateur EnterpriseDB.
Tout est OK.
Sauf que postgresql n'accepte pas de connexion venant de l'extérieur.
pgsql : OK
pgsql -h localhost : OK
psql -h 192.168.0.104 : (IP sur le réseau local)
psql: could not connect to server: Connection refused
Is the server running on host "192.168.0.104" and accepting
TCP/IP connections on port 5432?

pgsql -h mamachine.fr : (nom de domaine de ma machine)
psql: could not connect to server: Connection refused
Is the server running on host "lorien.fr" (88.180.126.137) and accepting
TCP/IP connections on port 5432?


Il s'agit bien d'un problème de pg.
J'ai modifié postgresql.conf et pg_hba.conf.
postgresql est bien actif dans le moniteur d'activité.
Le port postgres est bien ouvert.

J'avais installé postgresql-9.1 qui marchait parfaitement.

J'ai essayé les autres installateur. Aucun ne marche !

Or j'ai besoin de la version 9.3 pour installer l'extension postgis2.1.

Merci de l'aide.