In your application, the connection string should have the ip address of the postgres server. The postgres server (solaris box) should allow port 5432 through the firewall.
If you cannot access port 5432 on your solaris box from the linux box, then make sure that you don't have a firewall in the way.
You'll also want to make sure that in postgresql.conf, you have set
listen_addresses='*'
or
listen_addresses='<the.ip.of.the.solaris.box.'
Good luck
--Scott
--
Scott Mead
Sr. Systems Engineer
EnterpriseDB
scott.mead@enterprisedb.com C: 607 765 1395
www.enterprisedb.comOn Thu, May 21, 2009 at 1:49 PM, Keith D. Evans
<evans@umbc.edu> wrote:
Joshua,
Let me rephrase what I wrote. The database is on a public machine (Linux), but the postgresql postmaster runs on a private machine (Solaris 10). Can we access the postgresql database through the public machine, even though the postmaster is running from a (different) private machine?
thanx
keith "Nonviolence is not a cover for cowardice, but it is the supreme virtue of the brave." Mohandas Karamchand Gandhi
=======================================================
Keith D. Evans
Joint Center for Earth Systems Technology/UMBC
(301) 614-6282 (M,Tu)
(410) 455-5751 (W,Th,F)
http://www.jcet.umbc.edu/bios/evanmain.html ========================================================
Any opinions expressed in this email are not those of NASA, or the Goddard Space Flight Center, or the Joint Center for Earth Systems Technology or the University of Maryland Baltimore County.
========================================================
--