Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Database 连接到服务器:连接被拒绝_Database_Postgresql_Jcr - Fatal编程技术网

Database 连接到服务器:连接被拒绝

Database 连接到服务器:连接被拒绝,database,postgresql,jcr,Database,Postgresql,Jcr,我正试图从我的jackrabbit数据库中获取dump 我得到了下面提到的错误:- pg_dump.bin: [archiver (db)] connection to database "jackrabbit" failed: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connecti

我正试图从我的jackrabbit数据库中获取dump

我得到了下面提到的错误:-

pg_dump.bin: [archiver (db)] connection to database "jackrabbit" failed: could not connect to server: Connection refused
        Is the server running on host "127.0.0.1" and accepting
        TCP/IP connections on port 5433?

PostgreSQL正在默认端口5433上运行。

检查此
netstat-apn
以便查找端口5433是否正在侦听5433 portnetstat-ant | grep LISTEN,由于我的服务已关闭,我无法在当前服务列表中找到5433谢谢您的信息,我会把它们移除now@a_horse_with_no_nameDid您阅读了错误消息并按照它的建议执行了吗
服务器是否在主机“127.0.0.1”上运行,并在端口5433上接受TCP/IP连接?
重新启动数据库并检查端口是否正在侦听