System error

error:  Couldn't connect: could not connect to server: Connection refused
Is the server running on host "10.0.0.91" and accepting
TCP/IP connections on port 5432?

context: 
... 
4: 
5:  <%init>
6:  # Create a connection to the database
7:  #my $DBHA = DBI->connect("dbi:Pg:dbname=adopt;host=dbserver", 'apache', '')
8:  my $DBHA = DBI->connect("dbi:Pg:dbname=adoptionFunds;host=10.0.0.91", 'apache', '')
9:  or die "Couldn't connect: " . DBI->errstr . "\n";
10: 
11:  $m->call_next(%ARGS);
12:  </%init>
... 
code stack:  /var/www/adoptionfunds.org/autohandler:8
raw error






























Couldn't connect: could not connect to server: Connection refused
Is the server running on host "10.0.0.91" and accepting
TCP/IP connections on port 5432?



Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Couldn\'t connect: could not connect to server: Connection refused^J^IIs the server running on host "10.0.0.91" and accepting^J^ITCP/IP connections on port 5432?^J^J') called at /var/www/adoptionfunds.org/autohandler line 8
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8fe0524)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1279
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 473
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 473
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 425
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x8f801ec)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x8f801ec)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8f278e8)', 'Apache2::RequestRec=SCALAR(0x8c44028)') called at (eval 31) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x8c44028)') called at -e line 0
eval {...} at -e line 0