Problem with the database in metasploit

Take a look in here: Mfsconsole & armitage connetion refused

“”"
In Parrot Security the msf cant connect to postgres on a fresh install.
Msf want to connect to postges on port 5432
You need to change the port from 5433 to 5432
Edit the /etc/postgresql/10/main/postgresql.conf :
`sudo nano /etc/postgresql/11/main/postgresql.conf

Search for port = and change it to 5432
Restart postgresql:
sudo service postgresql restart
that’s it, hope it solves your problem
“”"
This solved my problem with postgresql.

1 Like