Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qeGIA-006Htx-5o for pgsql-general@arkaria.postgresql.org; Thu, 07 Sep 2023 14:47:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qeGI6-002U4Z-V2 for pgsql-general@arkaria.postgresql.org; Thu, 07 Sep 2023 14:47:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qeGI5-002U4E-F4 for pgsql-general@lists.postgresql.org; Thu, 07 Sep 2023 14:47:30 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qeGHt-003grr-IL for pgsql-general@lists.postgresql.org; Thu, 07 Sep 2023 14:47:27 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 459625C01A3; Thu, 7 Sep 2023 10:47:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 07 Sep 2023 10:47:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1694098035; x=1694184435; bh=ePRUZig8AIYjJL7Od3I6RMWC2Gfwo/LhO4q Od2uUHCQ=; b=KyZE8KnVpLC2RGp3VvZf35Sp3FPnjw4427w7b2exBoEVPnSL0FY 1Iefh5UHIan3nQyCcASYbynMdmoBErJGhS1z76PnZ/dnsXrMM3YepRgj0aUzTw7l gAG/5ElQdI55h31Y5H9NfgFGUpPoxrNcb9BXmdHEWCAET7CZR6Ic4SNMfDa3bpkn Aa7JA8+SAuB/zjUG6S7cUy37OCRrTwEQaaFUPI2na8jvrTw9camhda6g46JEGmYh L5CimluE+1ClLPS6JCFvhb4EN+28rX1mDioOn47lsy9YHfnN1z9vtTnrMz57Dr4E pXQYMnP1t07oQWC4c4LNuO2LxLnr5GfQ+Gg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1694098035; x= 1694184435; bh=ePRUZig8AIYjJL7Od3I6RMWC2Gfwo/LhO4qOd2uUHCQ=; b=t 9Kld5hIohd1P7gOWDF2Z4ZkAXNr6Wa9vqXkLDVPvVCMLhqpHAtfOFNVARdYoeim6 p5ke9houkAyHM93+mfdqfHtXGR0+7Ut7u16goHaF4e95zbzYirHUHvP99EJP7IGj CJ2S1MDAZiL/ns4p0zY5kknoUM1NrGVtQOBOD4L6xWRMVOum3eBBd0o+B3w7NRn5 cpup2MFSW8sNbaISmpbEVpXlK5PvqW3rMuDN3q5a/dVuqu6+gVOXClJK7Xr5GQ0m OY4zd3X/c/iWTMiOSHEsRR3EZi8ZIgR+zMk9do2Jgmv8IBE4B6ct85vp0VR8zStq VjMCpcZWYYGfOXg0fZ1Qw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudehhedgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeelkeegjefhkeetheefudevteehiedvudehkeduleet fedvffeuhedtvdegtdeffeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhi rghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 7 Sep 2023 10:47:14 -0400 (EDT) Message-ID: Date: Thu, 7 Sep 2023 07:47:13 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: listening on an address other than 'localhost'? To: "Johnson, Bruce E - (bjohnson)" , "pgsql-general@lists.postgresql.org" References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/6/23 12:23, Johnson, Bruce E - (bjohnson) wrote: > per the documentation to listen for client connections on a given IP > address you set listen_addresses to a commaspearated list of IP > addresses in postgresql.conf > > #listen_addresses = 10.128.206.109# what IP address(es) to listen on; > # comma-separated list of addresses; > # defaults to 'localhost'; use '*' for all > # (change requires restart) > > > What am I missing? (postgresql 15.4 running on Ubuntu 22.04), installed > via postgresql.org  apt repo. The other replies have indicated how you should format the value. For future reference the postgresql.conf configuration docs: https://www.postgresql.org/docs/current/runtime-config.html tell you what is expected. In this case: https://www.postgresql.org/docs/current/runtime-config-connection.html#RUNTIME-CONFIG-CONNECTION-SETTINGS listen_addresses (string) vs port (integer) > > > -- > Bruce Johnson > University of Arizona > College of Pharmacy > Information Technology Group > > Institutions do not have opinions, merely customs > -- Adrian Klaver adrian.klaver@aklaver.com