欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

kali_metasploit问题

程序员文章站 2022-08-10 16:16:50
出现类似提示: Failed to connect to the database: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepti ......

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