>export PGHOST=localhost >export PGPORT=5432
search "postgresql.conf" file in file directory Open File and check Port No