Metasploit and Postgresql on Kali
Discovered Solution:
Modify the /etc/postgresql/9.1/main/postgresql.conf - So the port is set to 5432
################################################## #############
Hello Forum,
I'm trying to figure out why postgresql is running on port 5433 instead of 5432.
It is my understanding that this setting is done in:/opt/metasploit/apps/pro/ui/config/database.yml; which reads as follows:
Code:
adapter: "postgresql"
database: "databasename"
username: "username"
password: "password"
port: 5432
host: "localhost"
pool: 256
timeout: 5
for both "development" and "production"
But when I run "ss -ant" it shows the port being used is 5433 instead of 5432 and when I boot up metasploit it informs me that it failed to connect to the database. While I am aware that I could just reinstall the software, I would rather figure out how to remedy this issue in order to learn from it.
I appreciate any advice you can offer, Thank you.