Steven reported a problem using gshp2pgsql with an
IP address:
Shapefile type: Polygon
Postgis type: MULTIPOLYGON[2]
psql: could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "???" and accepting
TCP/IP connections on port 5432?
Logged In: YES
user_id=30248
Originator: YES
I think the problem is not with the IP address but with the port number which is not passed to
psql. This is gshp2pgsql 0.2.0.
Until a new gshp2pgsql version is released, the PGPORT environment variable can be used as a workaround.
Logged In: YES
user_id=30248
Originator: YES
The host is also not set properly...
I used 127.0.0.1 for testing and had no problems. Could you provide some details?