国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

PostgreSQL Unable to connect to server: XXX port 5432 failed: Connection refused

這篇具有很好參考價(jià)值的文章主要介紹了PostgreSQL Unable to connect to server: XXX port 5432 failed: Connection refused。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

一、問題說明

使用 pgAdmin 連接本地的 PostgreSQL 時(shí),報(bào)錯(cuò)“Unable to connect to server: XXX port 5432 failed: Connection refused”。

截圖如下:
PostgreSQL Unable to connect to server: XXX port 5432 failed: Connection refused,PostgreSQL,postgresql,數(shù)據(jù)庫,服務(wù)器

二、問題原因

通過報(bào)錯(cuò)提示信息可以看出:客戶端工具訪問被拒絕的原因是,由于本地的 PostgreSQL 服務(wù)沒有啟動(dòng)。

三、解決方案

啟動(dòng)本地的 PostgreSQL 服務(wù)(個(gè)人安裝的是 PostgreSQL 14.5 版本的),啟動(dòng)方式如下:

在任務(wù)管理器–> 服務(wù)–> 找到并選中 postgresql-x64-14 服務(wù),點(diǎn)擊服務(wù)列表上方的“啟動(dòng)”按鈕,或者右鍵點(diǎn)擊選擇“開始”,即可啟動(dòng) PostgreSQL 服務(wù)。
PostgreSQL Unable to connect to server: XXX port 5432 failed: Connection refused,PostgreSQL,postgresql,數(shù)據(jù)庫,服務(wù)器
PostgreSQL Unable to connect to server: XXX port 5432 failed: Connection refused,PostgreSQL,postgresql,數(shù)據(jù)庫,服務(wù)器

等本地的 PostgreSQL 服務(wù)正常啟動(dòng)后,再次使用 pgAdmin 連接,即可正常訪問和使用。
PostgreSQL Unable to connect to server: XXX port 5432 failed: Connection refused,PostgreSQL,postgresql,數(shù)據(jù)庫,服務(wù)器
PostgreSQL Unable to connect to server: XXX port 5432 failed: Connection refused,PostgreSQL,postgresql,數(shù)據(jù)庫,服務(wù)器

文章來源地址http://www.zghlxwxcb.cn/news/detail-724606.html

到了這里,關(guān)于PostgreSQL Unable to connect to server: XXX port 5432 failed: Connection refused的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • git pull出現(xiàn)fatal: unable to access ‘https://github.com/xxx.git‘: Failed to connect to github.com port

    git pull出現(xiàn)fatal: unable to access ‘https://github.com/xxx.git‘: Failed to connect to github.com port

    問題 執(zhí)行g(shù)it命令:git pull origin main; 出現(xiàn):fatal: unable to access ‘https://github.com/xxx.git’: Failed to connect to github.com port 443 after xxx ms: Timed out。 解決方法 手動(dòng)配置Git代理: 1.打開ShadowsocksR軟件; 2.右鍵ShadowsocksR圖標(biāo),點(diǎn)擊《選項(xiàng)設(shè)置》,查看本地端口,我的是1080; 2.執(zhí)行 git c

    2024年02月13日
    瀏覽(102)
  • postgresql13遠(yuǎn)程連接報(bào)錯(cuò) Connection to 117.50.184.237:5432 refused. Check that the hostname and port are c

    postgresql13遠(yuǎn)程連接報(bào)錯(cuò) Connection to 117.50.184.237:5432 refused. Check that the hostname and port are c

    報(bào)錯(cuò)信息 Connection to hostname:port refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused: no further information 解決方案 修開配置文件 添加以下內(nèi)容并保存如圖 重啟 再次連接 報(bào)錯(cuò) FATAL: no pg_hba.conf entry for host “ip”, user “postgres”, data

    2024年02月15日
    瀏覽(35)
  • 反復(fù) Failed to connect to github.com port 443 after xxx ms

    前提:使用了代理,瀏覽器能穩(wěn)定訪問github,但git clone一直超時(shí) 解決方案: 1.?git config --global?http.proxy http://127.0.0.1:1080 2. 代理設(shè)置端口1080 3. 1080可自定義 感謝來自這篇博客和評(píng)論區(qū)的提醒:解決 Failed to connect to github.com port 443:connection timed out_fK0pS的博客-CSDN博客

    2024年02月15日
    瀏覽(19)
  • 使用 curl/git 命令時(shí)出現(xiàn) Failed to connect to XXX port 443: 拒絕連接

    使用 curl/git 命令時(shí)出現(xiàn) Failed to connect to XXX port 443: 拒絕連接

    今天在linux下安裝docker compose出現(xiàn) Failed connect to github.com:443 ; 拒絕連接 網(wǎng)上查了下說是DNS被污染,改下host文件 首先你可以通過https://www.ipaddress.com/首頁,輸入 raw.githubusercontent.com 進(jìn)行查詢 修改hosts 在最底下添加 199.232.68.133 raw.githubusercontent.com 保存起來即可 這個(gè)也同樣可以解

    2024年02月12日
    瀏覽(16)
  • github clone Failed to connect to github.com port 443 after xxx ms

    最近克隆github項(xiàng)目時(shí)老是報(bào)超時(shí),可以嘗試以下解決方法 如果本地開啟了代理還是clone超時(shí),可以嘗試最后一種方式解決 1、把 https 換成 http,如: 2、更新本地hosts配置,可以參考這篇文章獲取最新的hosts 解決github圖片及網(wǎng)頁加載不出來 3、 將通信協(xié)議由 http/2 改為 http/1.1 改

    2024年01月19日
    瀏覽(45)
  • fatal: unable to access Failed to connect to github.com port 443: Timed out解決方案

    fatal: unable to access Failed to connect to github.com port 443: Timed out解決方案

    ??大家好,我是愛編程的喵喵。雙985碩士畢業(yè),現(xiàn)擔(dān)任全棧工程師一職,熱衷于將數(shù)據(jù)思維應(yīng)用到工作與生活中。從事機(jī)器學(xué)習(xí)以及相關(guān)的前后端開發(fā)工作。曾在阿里云、科大訊飛、CCF等比賽獲得多次Top名次?,F(xiàn)為CSDN博客專家、人工智能領(lǐng)域優(yōu)質(zhì)創(chuàng)作者。 ??本文主要介

    2024年02月12日
    瀏覽(78)
  • Gitlab:fatal: unable to access ‘http://gitlab.example.com/XXX/XXX/‘: Failed to connect to XXX問題解決

    git push 代碼到gitlab時(shí),報(bào)錯(cuò)如下: fatal: unable to access \\\'http://gitlab.example.com/XXX/\\\': Could not resolve host: gitlab.example.com 原因git需要設(shè)置代理,才能git push成功 1.查看gitlab端口號(hào): vim /etc/gitlab/gitlab.rb 2.查看gitlab服務(wù)端ip :ifconfig/ipconfig 3.設(shè)置代理: git config --global http.proxy 192.XXX.XXX.XXX:git

    2024年02月15日
    瀏覽(24)
  • clone報(bào)錯(cuò)fatal: unable to access ‘https://github.com/...‘: Failed to connect to github.com port

    clone報(bào)錯(cuò)fatal: unable to access ‘https://github.com/...‘: Failed to connect to github.com port

    原因是本機(jī)代理端口和git端口不一致。 第一步、找到本機(jī)代理端口號(hào)(紅框部分) 第二步、修改git端口號(hào) 在git-bash執(zhí)行如下兩條指令 問題解決! [1][報(bào)錯(cuò)解決] Failed to connect to github.com port 443 after ***** ms: Couldn‘t connect to server [2]GitHub 新手詳細(xì)教程

    2024年02月06日
    瀏覽(26)
  • Git clone報(bào)錯(cuò):fatal: unable to access ‘https://github.com/.....‘: Failed to connect to github.com port

    Git clone報(bào)錯(cuò):fatal: unable to access ‘https://github.com/.....‘: Failed to connect to github.com port

    使用Git克隆項(xiàng)目是,有時(shí)候會(huì)報(bào)錯(cuò):Failed to connect to github.com port 443 after 21096 ms: Couldn’t connect to server 原因是本機(jī)代理端口和git端口不一致。 我的解決方法: 然后開啟手動(dòng)代理模式: 隨便在哪個(gè)地方,右鍵選擇Git Bash Here(得安裝了Git),然后在彈出的命令行窗口中分別輸入一

    2024年04月13日
    瀏覽(104)
  • Failed to connect to github.com port 443 after 21085 ms: Couldn‘t connect to server

    解決完 ssh密鑰之后,還是push不上去 報(bào)錯(cuò)誤:Failed to connect to github.com port 443 after 21085 ms: Couldn\\\'t connect to server 可能是因?yàn)樽约罕救私?jīng)常用梯子進(jìn)行科學(xué)上網(wǎng),導(dǎo)致網(wǎng)絡(luò)代理設(shè)置出現(xiàn)點(diǎn)問題,導(dǎo)致git默認(rèn)的通過http或https方式加速網(wǎng)絡(luò)連接的功能出現(xiàn)bug,導(dǎo)致電腦連接不到github服

    2024年02月04日
    瀏覽(25)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包