[gdal-dev] problem converting a FileGDB to PostGIS using ogr2ogr

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Thu Nov 1 12:40:31 PDT 2012


Martin Feuchtwanger <feumar <at> shaw.ca> writes:


>     Using OSGeo4W shell command    c:\OSGeo4W\bin\ogr2ogr -f "PostgreSQL"
PG:"dbname=test
>         user=postgres" c:\Users\Martin\Documents\test.gdb
>     i got
>         ERROR 1: PQconnectdb failed.
>         could not connect to server: Connection refused
>     (0x0000274D/10061)
>                 Is the server running on host "???" and accepting
>                 TCP/IP connections on port 5432?

It probably means what it says. OpenGeo suite installs it's own PostgreSQL and
it is listening port 54321 instead of the default port 5432. At least this
document claims so:
http://dev.horizon.opengeo.org/opengeo-docs/installation/windows/index.html



-Jukka Rahkonen-



More information about the gdal-dev mailing list