greetings,

I get the following error when trying to connect to a port-forwarded
PostgreSQL/PostGIS database running in a VM:

"Error creating data store, check the parameters. Error message: Unable to
obtain connection: Cannot create PoolableConnectionFactory (Connection
refused. Check that the hostname and port are correct and that the
postmaster is accepting TCP/IP connections.)"

The host machine is OSX and I have a VirtualBox instance of Ubuntu server
12.04 port forwarding set to 5433 and 8083 for postgres and geoserver
respectively.  I can connect to Postgres using pgAdmin in the host machine
using 127.0.01:5433, and can also connect to the geoserver admin in the
host with a web browser at localhost:8083/geoserver/web.

But when I try to make a data source with the localhost and 5433 in
geoserver I get that error.  When I look at the port 5433 on the host
machine it says pyrrho, whereas port 5432 says postgresql (a host based,
non port-forwarded instance that works with geoserver).  Should this be
possible or is the virtual machine port forwarding thing too murky?  Or am
i just missing something else?

thanks
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to