[GRASS-user] problem with v.distance in Windows

Hamish hamish_b at yahoo.com
Sun May 25 21:39:03 EDT 2008


Jonathan Aguero-Valverde wrote:
> DBMI-Postgres driver error:
> Cannot connect to Postgres: could not connect to server:
> Connection refused 
> (0x0000274D/10061)
>         Is the server running on host "localhost"
> and accepting
>         TCP/IP connections on port 6543?
> 
> GRASS_INFO_WARNING(4116,1): Cannot open database 
> 'host=localhost,dbname=thesisWA,port=6543'
> GRASS_INFO_END(4116,1)
> 
> GRASS_INFO_ERROR(4116,2): Unable to open database 
> <host=localhost,dbname=thesisWA,port=6543> by driver
> <pg>
> GRASS_INFO_END(4116,2)

can you use any other vector processing modules which use the DB?
disconnect from the internet and try turning off your firewall temporarily?

> It looks like somehow the port is hardcoded to 6543 in
> v.distance.

this is not the case.

> If I tried db.tables -p it gives me the list of my tables so it
> looks like my connection settings are fine.

to say that for sure you would need to see that other processing modules work, not just deescriptive ones. v.db.addcol?

Hamish



      



More information about the grass-user mailing list