Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ejBPy-0001ZR-TX for pgsql-general@arkaria.postgresql.org; Tue, 06 Feb 2018 22:08:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejBPx-0005Iv-Vv for pgsql-general@arkaria.postgresql.org; Tue, 06 Feb 2018 22:08:45 +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_2) (envelope-from ) id 1ejBPx-0005Ik-No for pgsql-general@lists.postgresql.org; Tue, 06 Feb 2018 22:08:45 +0000 Received: from susanne.redcor.ch ([178.63.103.72]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ejBPv-0005f4-68 for pgsql-general@postgresql.org; Tue, 06 Feb 2018 22:08:45 +0000 Received: from [192.168.0.220] (84-72-41-168.dclient.hispeed.ch [84.72.41.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: robert@redcor.ch) by susanne.redcor.ch (Postfix) with ESMTPSA id 0E0DDA0441 for ; Tue, 6 Feb 2018 23:08:42 +0100 (CET) From: robert Subject: Re: pgadmin4: not possible to create server To: "pgsql-general@postgresql.org" References: <75bd1546-6822-e366-d7da-1488074b474f@redcor.ch> <35c2c035-9911-2a5f-e54a-0b8e49dd256e@aklaver.com> Message-ID: <8415c4eb-d73f-1bb8-3d04-54ba32bb19cd@redcor.ch> Date: Tue, 6 Feb 2018 23:08:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <35c2c035-9911-2a5f-e54a-0b8e49dd256e@aklaver.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 06.02.2018 18:28, Adrian Klaver wrote: > On 02/06/2018 09:24 AM, robert rottermann wrote: >> Hi there, >> >> I have installed pgadmin4 locally using its docker image. >> >> this i did running the following command: >> >> docker run -p 80:80 -e "PGADMIN_DEFAULT_EMAIL=admin" -e >> "PGADMIN_DEFAULT_PASSWORD=admin" -d dpage/pgadmin4 >> >> I then could access it and log into it. >> >> However all my attempts end in: >> >> Unable to connect to server: >> >> could not connect to server: Connection refused >> Is the server running on host "localhost" (::1) and accepting >> TCP/IP connections on port 5432? >> could not connect to server: Connection refused >> Is the server running on host "localhost" (127.0.0.1) and accepting >> TCP/IP connections on port 5432? > > So where is the Postgres server located? on my local desktop robert