[ubuntu] can not connect to database

view full story

http://ubuntuforums.org – everyone,,i got stag when i configure my wifidog,,that is after step database acces.. i can't acces the localhost,,when i try to access the localhost, the result is like this : I am unable to retrieve the schema version. Either the wifidog database hasn't been created yet, the postgresql server is down, or pg_hba.conf does not allow your web server to connect to the wifidog database. Error was: Unable to connect to the database at host=localhost port=5432 dbname=wifidog user=wifidog password=********* Try running the installation script. anyone can help me ?? i can't open port 5432 (Hardware)