could not connect to server: Connection refused Is the server running on host and accepting TCP/IP connections on port 5432?
Shell
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:
- Title
- how to install docker ubuntu
- Category
- Shell
- Title
- install flutter
- Category
- Shell
- Title
- check installed packages apt-get
- Category
- Shell
- Title
- Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS
- Category
- Shell
- Title
- ubuntu storage check stackoverflow
- Category
- Shell
- Title
- git delete branch
- Category
- Shell
- Title
- git config --global credential.helper osxkeychain
- Category
- Shell
- Title
- touch for powershell
- Category
- Shell
- Title
- How do I see which version of Swift I'm using
- Category
- Shell
- Title
- centos 7 install iptables
- Category
- Shell
- Title
- firewall status on ubuntu
- Category
- Shell
- Title
- docker getting-started
- Category
- Shell
- Title
- unable to install deno in ubuntu
- Category
- Shell
- Title
- vmware mukesh003
- Category
- Shell
- Title
- how to upgrade package yarn global
- Category
- Shell
- Title
- docker logs tail
- Category
- Shell
- Title
- ignore git ignore
- Category
- Shell
- Title
- ubuntu chmod codes
- Category
- Shell
- Title
- mkdir multiple directories
- Category
- Shell
- Title
- ubuntu 18.04 get public ip address
- Category
- Shell
- Title
- ufw allow port
- Category
- Shell
- Title
- bash edit prompt display appearance
- Category
- Shell
- Title
- add alias fish shell
- Category
- Shell
- Title
- The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file
- Category
- Shell
- Title
- github graphql query to get your repos
- Category
- Shell
- Title
- pipe find to rm
- Category
- Shell
- Title
- bash endless loop
- Category
- Shell
- Title
- long term projects for java learners
- Category
- Shell
- Title
- git abort stash pop
- Category
- Shell
- Title
- how to check upstream git
- Category
- Shell
- Title
- how to pip install in folder
- Category
- Shell
- Title
- how to get the size of directory in linux
- Category
- Shell
- Title
- git delete stash
- Category
- Shell
- Title
- terminal how to find a directory
- Category
- Shell
- Title
- git flow init
- Category
- Shell
- Title
- install kubernetes on ubuntu
- Category
- Shell
- Title
- bash ls without substring
- Category
- Shell
- Title
- powershell bulk rename and add extra string to filename
- Category
- Shell
- Title
- kernel headers were not found vmware kali linux
- Category
- Shell
- Title
- kill a port
- Category
- Shell
- Title
- install docker debain
- Category
- Shell
- Title
- how to install pip in anaconda
- Category
- Shell
- Title
- update ubuntu
- Category
- Shell
- Title
- ubuntu install bluez
- Category
- Shell
- Title
- git remove remote
- Category
- Shell
- Title
- install zsh debian
- Category
- Shell
- Title
- find out a branch a parent branch git
- Category
- Shell
- Title
- ubuntu logout
- Category
- Shell
- Title
- how to revert to log in git
- Category
- Shell
- Title
- install drush on windoes 10
- Category
- Shell
- Title
- git reset
- Category
- Shell
- Title
- Git commands workflow
- Category
- Shell
- Title
- get ip address linux
- Category
- Shell
- Title
- htaccess secure
- Category
- Shell
- Title
- npm list global packages
- Category
- Shell
- Title
- git diff show only files
- Category
- Shell
- Title
- avalible ios simulators
- Category
- Shell
- Title
- git reset specific file
- Category
- Shell
- Title
- how to remove untracked files in git
- Category
- Shell
- Title
- how to undo a git stash
- Category
- Shell
- Title
- lvm resize ext4
- Category
- Shell
- Title
- clone repository git
- Category
- Shell
- Title
- windows subsystem for linux optional component is not enabled. please enable it and try again
- Category
- Shell
- Title
- matrix synapse install
- Category
- Shell
- Title
- pip3 not found
- Category
- Shell
- Title
- documentation gitlab ci en francais
- Category
- Shell
- Title
- zip entire directory ubuntu
- Category
- Shell
- Title
- adding remote origin git
- Category
- Shell
- Title
- change ratio vmware ubuntu
- Category
- Shell
- Title
- vagrant 16
- Category
- Shell
- Title
- tcr test commit revert
- Category
- Shell
- Title
- shell copy
- Category
- Shell
- Title
- install rbenv
- Category
- Shell
- Title
- screen recorder linux
- Category
- Shell
- Title
- npm install express-handlebars
- Category
- Shell
- Title
- read file using shell script
- Category
- Shell
- Title
- compress folder ubuntu
- Category
- Shell
- Title
- github compare commits
- Category
- Shell
- Title
- cambiar nombre branch git
- Category
- Shell
- Title
- install idle on ubuntu
- Category
- Shell
- Title
- firewall in ubuntu 18.04
- Category
- Shell
- Title
- git worktree prune
- Category
- Shell
- Title
- ubuntu list running applications
- Category
- Shell
- Title
- ubuntu bluetooth not listed
- Category
- Shell
- Title
- react-devtools agent got no connection
- Category
- Shell
- Title
- ubuntu view disk space ec2
- Category
- Shell
- Title
- How to find your ip on debian linux wsl
- Category
- Shell
- Title
- ubuntu install apache2
- Category
- Shell
- Title
- convert all files and folders in current directory into zip in linux
- Category
- Shell
- Title
- how to add image in github readme
- Category
- Shell
- Title
- xampp shell fonts
- Category
- Shell
- Title
- how to validate a mobile number in shell script
- Category
- Shell
- Title
- git clean cache
- Category
- Shell
- Title
- linux command to check memory usage in percentage
- Category
- Shell
- Title
- remove mongo lock file from centos 7
- Category
- Shell
- Title
- linux external hard drive chmod
- Category
- Shell
- Title
- linux make executable
- Category
- Shell
- Title
- chocolatey installation
- Category
- Shell
- Title
- remove remote git
- Category
- Shell
- Title
- close all localhost connections
- Category
- Shell