Ask two questions: 1. Ask for help to modify the postgres port. Why is my postgres port number 5433? Baidu said that modifying the file postgres.conf can change the port, but I can't find this file. 2. After selecting a program from the application and clicking Open, it will automatically exit and jump back to root@kali:~#
The first one is solved, the path/etc/PostgreSQL/9.1/main/PostgreSQL.conf.