Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aRNyc-0004Mh-Cr for pgsql-sql@arkaria.postgresql.org; Thu, 04 Feb 2016 17:45:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aRNyb-0004Hh-R6 for pgsql-sql@arkaria.postgresql.org; Thu, 04 Feb 2016 17:45:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aRNyZ-0004G4-Uu for pgsql-sql@postgresql.org; Thu, 04 Feb 2016 17:45:52 +0000 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aRNyX-0000Nr-5Q for pgsql-sql@postgresql.org; Thu, 04 Feb 2016 17:45:51 +0000 Received: by mail-pf0-x22c.google.com with SMTP id w123so52086449pfb.0 for ; Thu, 04 Feb 2016 09:45:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=oFhvGTS6C9L67MAOwsp6SWjjWPS/J2raKJCl+T4KQ6k=; b=NEWBK6LW0CRJH3Rljh0FgBCwx2iAaYQpKCCf+TzX0uc5O8On96uteHL8VZnrK7myh6 LLh0Q/gs4zyLSx/+0dkC0vHXHAI9nGs+U1g2yfy22zbuTFmyxZHl+jo5oZZT9g9scOds yMnnbtQqLljkOFrqG4OTrv20IWvEgKCq1ba1zsjOdRAkgIN41RCU+KOS+b+9pHcn/Q0w mvdz7UiNA7HsNJ6HIu7kfidWIleoFSF+FsuaMSuESMyBkNYAZlsmn3MC0mU76Yh9iQtq BwqRJyKvxLr0cl38OtMEBx0fcr72wP/2TSXevlAXYZDhez5/xvsi7xVfOKOB7CEkBEvi PClg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=oFhvGTS6C9L67MAOwsp6SWjjWPS/J2raKJCl+T4KQ6k=; b=ZMh3H2qR39KRzn3UCZ4LyTq5wZ+dh9CxfMZ85/lky448hiSc0YDwJA1XgiuZpgRFI5 cWJugZiWx2R6pR03HF+bZNW+ZWEFgqnY9V6hFHJyAFUrqXiNNnSdPk6uyWb780RcFA6B +0nglBPKTmQ0Qht/br8kdTq/WLFqxfgSVpHm5PJI0QuWwgGRbIrfZqnOgEPFkxepXUSw ayDKuo85rCuDLUmDFGcFnqq6SWfJV1AuPFacazTgKpwUN+CwzNqPTbTqHmEwKQtUm0KR NiQ6KOjRDOma+pNIqx1u5G3jtTFXWewrDD/8fy15bjsFzGGiirtna1o8NIX2W3Qc6rt4 TZ5Q== X-Gm-Message-State: AG10YOSpWx/8ZwXYz5OkyCxBfLRQqMA1frxw5CbsNU7oRnUOibjAsd6RMrCbM0K+hlIERA== X-Received: by 10.67.14.234 with SMTP id fj10mr12702884pad.149.1454607946130; Thu, 04 Feb 2016 09:45:46 -0800 (PST) Received: from [192.168.1.5] ([122.172.81.165]) by smtp.gmail.com with ESMTPSA id tp6sm18587499pab.25.2016.02.04.09.45.44 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Feb 2016 09:45:44 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Create db fails using utility tool From: Shashank Dutt Jha X-Mailer: iPhone Mail (13D15) In-Reply-To: <56B37EF8.7030904@aklaver.com> Date: Thu, 4 Feb 2016 23:15:42 +0530 Cc: pgsql-sql@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <649F207B-457F-4DC7-8770-CB5E7E467C4F@gmail.com> References: <56B37EF8.7030904@aklaver.com> To: Adrian Klaver X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org Yes server is running on the local host and default port. I can connect to = it using UI pgsql client > On Feb 4, 2016, at 10:10 PM, Adrian Klaver wr= ote: >=20 >> On 02/03/2016 11:23 PM, Shashank Dutt Jha wrote: >> c:\Program Files\PostgreSQL\9.5\bin>createdb.exe testdb >> createdb: could not connect to database template1: could not connect to >> server: >> Connection refused (0x0000274D/10061) >> Is the server running on host "localhost" (::1) and accepting >> TCP/IP connections on port 5432? >> could not connect to server: Connection refused (0x0000274D/10061) >> Is the server running on host "localhost" (127.0.0.1) and accept= ing >> TCP/IP connections on port 5432? >=20 >=20 > Well the error is pretty specific, so is the server running and if so doe= s it have the parameters set as above? >=20 >=20 >=20 > --=20 > Adrian Klaver > adrian.klaver@aklaver.com --=20 Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql