postgres database connect linux dedicated server hosting

Postgres is one of the powerful database in linux dedicated server hosting. We can connect the postgres database from local computer as well as server. The following is the procedure to connect the postgres database in linux dedicated server hosting.

1. To connect postgres database from local system

* Kindly visit the URL http://getmyip.co.in/ and get your local internet IP address.

* Once you get the IP, you need to allow your local internet IP address in the postgres configuration

host all all 45.98.334.21 255.255.255.0 md5

2. To connect postgres database from linux dedicated server hosting

* Once you get the server IP address, need to add the server IP in the postgres configuration

Ex. host all all 136.123.78.246 255.255.255.0 md5