Received: from maia.hub.org (unknown [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 7CF5BB5DCF6 for ; Thu, 14 Jul 2011 11:20:25 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 63494-10 for ; Thu, 14 Jul 2011 14:17:43 +0000 (UTC) Received: from mx1.hub.org (mx1.hub.org [200.46.208.106]) by mail.postgresql.org (Postfix) with ESMTP id A88EBB5DC66 for ; Thu, 14 Jul 2011 10:56:56 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mx1.hub.org (Postfix) with ESMTP id A8BD727FC287 for ; Thu, 14 Jul 2011 10:56:45 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Thu, 14 Jul 2011 08:52:45 -0500 Message-Id: <4E1EAE58020000250003F2F7@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Thu, 14 Jul 2011 08:52:40 -0500 From: "Kevin Grittner" To: "Lukasz Brodziak" , "pgsql-admin@postgresql.org" Subject: Re: Problem connecting to Postgresql on ubuntu 11.04 on virtual box References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, NO_DNS_FOR_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201107/100 X-Sequence-Number: 37879 Lukasz Brodziak wrote: > As in the topic I can't connect to a PG installed in ubuntu on > virtualbox. The host system is Windows XP, pg is running on ubuntu > as I van connect to it through pgadmin on VB. When I try to > connect to it from software running on the host system I get the > error asking whether the server is running on host 192.168.56.101 > and is accepting connections on port 5432 which it does. Have you set listen_addresses? http://www.postgresql.org/docs/8.2/interactive/runtime-config-connection.html#RUNTIME-CONFIG-CONNECTION-SETTINGS > Pg version is 8.2.4 instelled from source. Major release 8.2 hits end of life in five months. http://wiki.postgresql.org/wiki/PostgreSQL_Release_Support_Policy 8.2.4 is very old. You should be on the latest bug fix release of 8.2. http://www.postgresql.org/support/versioning You can get some sense of the bug and security fixes you will be missing by reading the files from 8.2.5 to 8.2.21 here: http://www.postgresql.org/docs/8.2/static/release.html If setting listen_addresses and restarting PostgreSQL doesn't fix your connectivity problem, please read this page and post again: http://wiki.postgresql.org/wiki/Guide_to_reporting_problems -Kevin