2017-12-16 02:41:45.639 PST [19045] LOG: shutting down
2017-12-16 02:41:45.664 PST [19043] LOG: database system is shut down
Can some one let me know what could be going wrong?
You need to require following chnages in postgresql.conf file & set the listen_addresses = '*' aslo check whether the pg_hba.conf file has all the required entries and then restart the database server