could not connect to server: Connection refused Is the server running on host and accepting TCP/IP connections on port 5432?
cd /etc/postgresql/9.x/main/
------- open file named postgresql.conf
sudo nano postgresql.conf
------- add this line to that file
listen_addresses = '*'
------- then open file named pg_hba.conf
sudo nano pg_hba.conf
------- and add this line to that file
host all all 0.0.0.0/0 md5
------- restart your server
sudo /etc/init.d/postgresql restart
Also in Shell:
- linux install ping
- check installed packages apt-get
- git remove Untracked files
- fork and branch workflow
- convert dash to underscore windows
- npm install jquery
- sudo msys2
- how to image an entire disk on linux
- git undo pushed commit
- npm install react
- create github repo with curl
- how to install gulp
- connect to git repo with ssh-rsa
- bash call another script relative to current script
- install kubernetes on ubuntu
- git create new branch
- delete a deployment in kubernetes
- mount: cdrom: failed to setup loop device for
- cordova ios emulators
- bash ls without substring
- git commit all changes
- how to view hidden files in mac terminal
- background script linux
- git remove file from history