Re: Connection Refused Error

2018-03-21 Thread Rahul Soshte
Hi, I solved the bug,actually what I had done was I had installed postgresql without the version number i.e using this command sudo apt-get install postgresql I uninstalled postgresql using this command sudo apt-get remove --purge postgresql-9.6 and reinstalled with the version number i.e sud

Re: Connection Refused Error

2018-03-21 Thread Joao De Almeida Pereira
Hello Rahul, Did you change the /etc/postgresql/10/main/pg_hba.conf file configuration to allow connections? if not take a look at https://www.thegeekstuff.com/2014/02/enable-remote-postgresql-connection/ this should guide you but basically you need to change the METHOD to `trust` on the 127.0.0.1