📅  最后修改于: 2022-03-11 15:05:27.445000             🧑  作者: Mango
sudo vi /var/lib/pgsql/data/postgresql.conf
#Uncomment listen_address=localhost
sudo systemctl restart postgresql
sudo systemctl status postgresql.service