sudo nano /etc/sysconfig/iptables
 sudo nano /etc/httpd/conf/httpd.conf
 sudo nano /var/lib/pgsql/9.4/data/postgresql.conf
 sudo nano /var/lib/pgsql/9.4/data/pg_hba.conf
sudo service postgresql-9.4 start
 sudo service httpd restart
 sudo service iptables restart