go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Check to see if it's running
 
Subject: Check to see if it's running
Author: Linux
In response to: Configure Postgres
Posted on: 09/04/2017 11:25:13 PM

PostgreSQL database server runs on default port 5432.

You can check it via:


administrator@ubuntu:~$ netstat -tuln | grep 5432

tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN     




 

> On 09/04/2017 11:19:17 PM Linux wrote:


Step 4) Configure Postgres to allow reomte access -- optional

-- adminstrator@ubuntu:~$ sudo nano /etc/postgresql/9.6/main/postgresql.conf

Change:
       #listen_addresses = 'localhost'	

to:
       listen_addresses = '*'



Step 5) Restart Postgres -- optional

-- adminstrator@ubuntu:~$ sudo /etc/init.d/postgresql restart





References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.