Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyMgn-0004VA-OF for pgsql-general@arkaria.postgresql.org; Wed, 22 Jul 2020 21:54:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jyMgj-00052c-UC for pgsql-general@arkaria.postgresql.org; Wed, 22 Jul 2020 21:54:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyMgi-00052V-7Q for pgsql-general@lists.postgresql.org; Wed, 22 Jul 2020 21:54:09 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jyMge-0004BN-Vj for pgsql-general@postgresql.org; Wed, 22 Jul 2020 21:54:07 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D00625C00F2; Wed, 22 Jul 2020 17:54:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 22 Jul 2020 17:54:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=m UPI+q+Y3DGViZqQSuVCUMCkXWsce/Eo6yYVgeDIEm8=; b=WFFO0JjHZklfUBC69 L76IYBOMsRg9FcNgo1YgZH4vgp6np20R0BNSIJRBQZHWWURXpIyf//nEn/aSgf8+ 4ZMcQ46Glkk7K1iTDMPXQHpkkwsCCgVC2fQwmC2BYoTayTKtJuG2oTpbWRRclmzV rqFS3uVmiaglKPUgOpbZSmYruNCrGpzb/QvUimJHSlZpuopJN8nZHYcFCndS7353 2PxinBHp7enOj44DtVqld9B+W7N1qlTWmFhKSO3v20ZyIjacSvXQCeHcGDbib/qv 74Zy5ix3E0UiWq7XwLtODDo02E+QYU/t5cpWFUYRp1J+6zKX65s3iW5ZPIozB5ZP UXnpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=mUPI+q+Y3DGViZqQSuVCUMCkXWsce/Eo6yYVgeDIE m8=; b=s+6xScHVC6hVlh1ZlIHw6KvGB1HwyvHWmGJZt+Y3ma+tdEiYM2iaow4Bq 1AMRj+Qump7YP3EoGKvLhvMG6aMYloCiYlY4n5zZjJ3iu9I6GPGfEld0DRondiz7 arUQKP2XBtI4dfpVFCx/1Xf2Dmzj1HNc/L9HygAJbXV4xaawrmcByAtybF1ZPgkG Kbed7LsbRq1lpOI/QyFFQQ4LvcNFxnr7GNTnGwaAOv0uxzR8vdssChNUoleo1uZT G6kzBdnUu7L3AurPA0QWYVqBQVDvNp//VmcXCc8yr1CT8xMcf7XTQ/oOkx7TTAyP 6i7AhLpQEBWJWLBUW26cZ+6YeExXA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrhedtgddtgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeevteejtdeike etfefhhffhteelvdekffevudegjeeukefhgfdvieeliedtkeevhfenucffohhmrghinhep phhoshhtghhrvghsqhhlrdhorhhgnecukfhppedujedvrdehkedrfeekrddvgeeinecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghn rdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from ranger.suse (unknown [172.58.38.246]) by mail.messagingengine.com (Postfix) with ESMTPA id F319B3280065; Wed, 22 Jul 2020 17:54:01 -0400 (EDT) Subject: Re: Slow or Cannot Connect to PostgreSQL Instance Service on Windows 10 To: Surya Widyanto , pgsql-general@postgresql.org References: <78b962c2-3f5e-9747-b945-f0899455817f@gmail.com> <935a008f-7804-f419-85b1-776800b37a04@aklaver.com> <35a72d52-12b0-0371-f6a1-9bb722716de6@gmail.com> From: Adrian Klaver Message-ID: <043b3e56-cdc8-8cf2-0e82-2396d08b1c50@aklaver.com> Date: Wed, 22 Jul 2020 14:54:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <35a72d52-12b0-0371-f6a1-9bb722716de6@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/22/20 2:43 PM, Surya Widyanto wrote: > On 23-07-2020 02:07, Adrian Klaver wrote: >> On 7/22/20 10:24 AM, Surya Widyanto wrote: >>> Hi, >>> >> Is the database server you are connecting to on the laptop or some >> other machine? >> > The Database is on the same machine/laptop, I try to connect using > *localhost* and *127.0.0.1*, both have the same slow connection problem. >> Where is this Postgres log? >> > The path of the log is on > *\log\postgresql-%Y-%m-%d_%H%M%S.log* > Is there any config that I can change to get more verbose log > information to trace and debug the connection problem? Take a look here: https://www.postgresql.org/docs/12/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHEN >>> Thanks in advance. >>> >>> Regards, >>> Surya >>> >>> >> >> > -- Adrian Klaver adrian.klaver@aklaver.com