kali_metasploit问题

出现类似提示:

Failed to connect to the database: could not connect to server: Connection refused
    Is the server running on host "localhost" (::1) and accepting
    TCP/IP connections on port 5432?
could not connect to server: Connection refused
    Is the server running on host "localhost" (127.0.0.1) and accepting
    TCP/IP connections on port 5432?
解决办法:service postgresql start

原文地址:https://www.cnblogs.com/-nbloser/p/8749768.html