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

docker容器外訪問報(bào)錯(cuò)curl: (56) Recv failure: Connection reset by peer

這篇具有很好參考價(jià)值的文章主要介紹了docker容器外訪問報(bào)錯(cuò)curl: (56) Recv failure: Connection reset by peer。希望對大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

Docker中的 測試tomcat容器, 訪問宿主機(jī)端口報(bào)錯(cuò)curl: (56) Recv failure: Connection reset by peer,解決方法很簡單,重建docker0網(wǎng)橋,但出現(xiàn)錯(cuò)誤原因不清楚:重建docker0網(wǎng)橋步驟

停止docker
systemctl stop docker
后再執(zhí)行即可
systemctl stop docker.socket
安裝bridge-utils
yum install -y bridge-utils 
關(guān)閉docker0網(wǎng)橋
ip link set dev docker0 down
刪除docker0網(wǎng)橋
brctl delbr docker0
添加docker0網(wǎng)橋
brctl addbr docker0
添加網(wǎng)橋信息
ip addr add 172.16.10.1/16 dev docker0
啟動(dòng)docker0網(wǎng)橋
ip link set dev docker0 up
查看網(wǎng)橋是否正常
ip addr
啟動(dòng)docker
systemctl restart docker

docker端口映射后訪問不了curl: (56) recv failure: connection reset by peer,運(yùn)維,docker,docker,容器,運(yùn)維文章來源地址http://www.zghlxwxcb.cn/news/detail-611340.html

到了這里,關(guān)于docker容器外訪問報(bào)錯(cuò)curl: (56) Recv failure: Connection reset by peer的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

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

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

相關(guān)文章

  • vs2019用git推送到github報(bào)錯(cuò):Recv failure: Connection was reset

    vs2019用git推送到github報(bào)錯(cuò):Recv failure: Connection was reset

    詳細(xì)報(bào)錯(cuò)信息: 正在推送 master 將分支推送到遠(yuǎn)程存儲(chǔ)庫時(shí)遇到錯(cuò)誤: Git failed with a fatal error. Git failed with a fatal error. unable to access \\\'https://github.com/sfssa/MT4Library.git/\\\': Recv failure: Connection was reset 解決辦法: Windows+R輸入CMD打開命令行: 在命令行中輸入:ping www.github.com,得到下圖所

    2024年02月07日
    瀏覽(20)
  • Git報(bào)錯(cuò)解決_fatal: unable to access ‘https://github.com: Recv failure: Connection was reset

    Git報(bào)錯(cuò)解決_fatal: unable to access ‘https://github.com: Recv failure: Connection was reset

    fatal: unable to access \\\'https://github.com: Recv failure: Connection was reset 致命:無法訪問https://github.com:接收失敗:連接被重置 向Github Push時(shí) 關(guān)掉系統(tǒng)代理 找到系統(tǒng)代理 關(guān)閉系統(tǒng)代理 因?yàn)殚_啟了代理導(dǎo)致無法正常連接到Github 使用系統(tǒng)代理可能導(dǎo)致Github內(nèi)容推送失敗

    2024年01月20日
    瀏覽(124)
  • 完美解決 git報(bào)錯(cuò)fatal: unable to access ‘https://github.com/.../.git‘:Recv failure Connection was reset

    完美解決 git報(bào)錯(cuò)fatal: unable to access ‘https://github.com/.../.git‘:Recv failure Connection was reset

    在使用git時(shí),經(jīng)常會(huì)碰到這個(gè)錯(cuò)誤: fatal: unable to access \\\'https://github.com/.../.git\\\':Recv failure Connection was reset 。 結(jié)合我個(gè)人最近的使用經(jīng)驗(yàn),提供兩個(gè)方法,親測有效。 該方法也是最常見的方法,那就是在終端執(zhí)行: 本人之前在使用git時(shí),有些時(shí)候使用方法一就能解決問題,有

    2024年02月13日
    瀏覽(98)
  • github Recv failure: Connection reset by peer

    github Recv failure: Connection reset by peer

    晚上敲著代碼準(zhǔn)備提交,執(zhí)行 git pull ,報(bào)錯(cuò) Recv failure: Connection reset by peer ??粗@報(bào)錯(cuò)我陷入了沉思,這個(gè)報(bào)錯(cuò)在我的理解中被被人拒絕了。查了一下資料,發(fā)現(xiàn)這個(gè)報(bào)錯(cuò)是 http 系列的問題,于是我有了想法。。 沒啥問題 也沒啥問題 沒錯(cuò),是 http 的。那我把他改成 git 會(huì)咋

    2024年02月13日
    瀏覽(35)
  • 【完美解決】GitHub連接超時(shí)問題 Recv failure: Connection was reset

    【完美解決】GitHub連接超時(shí)問題 Recv failure: Connection was reset

    已經(jīng)開了梯子但是在Idea中使用git(GitHub)還是連接超時(shí) Recv failure: Connection was reset 。此時(shí)需要讓git走代理。 1.對右下角網(wǎng)絡(luò)點(diǎn)擊右鍵 - 打開 網(wǎng)絡(luò)和Internet設(shè)置 2. 代理 - 查看到地址和端口號 127.0.0.1:7890 3.在終端(cmd)輸入命令 4.查看是否設(shè)置成功 至此完成 相當(dāng)絲滑 ^ ^

    2024年02月08日
    瀏覽(24)
  • 解決kali虛擬機(jī)連接github問題,git/‘: Recv failure: Connection reset by peer

    解決kali虛擬機(jī)連接github問題,git/‘: Recv failure: Connection reset by peer

    直接使用ssh連接方式,以下終端全部為kali虛擬機(jī)的終端 1、在終端中執(zhí)行以下命令,將你的電子郵件地址替換為GitHub帳戶關(guān)聯(lián)的電子郵件地址。 ??????? ?ssh-keygen -t ed25519 -C \\\"youremail@example.com\\\" ????????這會(huì)在默認(rèn)目錄(通常是 ~/.ssh/ )中生成一個(gè)新的SSH密鑰對 遇到輸入

    2024年01月17日
    瀏覽(28)
  • 完美解決ubuntu中g(shù)it clone安卓內(nèi)核時(shí)報(bào)error: RPC failed; curl 56 GnuTLS recv error (-9):錯(cuò)誤的處理

    在ubuntu中使用git命令從清華的開源軟件鏡像站中克隆安卓內(nèi)核,但是報(bào)如下錯(cuò)誤: 查詢了一些博客,這個(gè)錯(cuò)誤總結(jié)出應(yīng)該是文件過大的原因 根據(jù)參考1中的第一個(gè)問題的方法,分別執(zhí)行如下命令,問題解決: 其中,postBuffer是用于設(shè)置Http緩存,可以設(shè)置的大一些,比如1G:g

    2024年01月19日
    瀏覽(24)
  • 解決git clone一個(gè)GitHub上的項(xiàng)目報(bào)Recv failure: Connection was reset的問題
  • unable to access ‘https://github.com/.../...git‘: Recv failure: Connection was reset

    解決git下載報(bào)錯(cuò):fatal: unable to access ‘https://github.com/…/…git’: Recv failure: Connection was reset 1、在git中執(zhí)行g(shù)it config --global --unset http.proxy和git config --global --unset https.proxy 2、在cmd下執(zhí)行ipconfig/flushdns 清理DNS緩存 3、重新執(zhí)行g(shù)it clone https://github.com/…/.git/’ 即可

    2024年02月12日
    瀏覽(23)
  • 完美解決,fatal unable to access ‘httpsgithub.comxxxxxxxxxxx.git’ Recv failure Connection was reset

    完美解決,fatal unable to access ‘httpsgithub.comxxxxxxxxxxx.git’ Recv failure Connection was reset

    報(bào)錯(cuò) :fatal unable to access ‘httpsgithub.comxxxxxxxxxxx.git’ Recv failure Connection was reset 說明 :不能進(jìn)入這個(gè)git倉庫,連接被重設(shè)(重新設(shè)置)了 解決一 :刪除代理,如果本身你沒有開代理,那就不要配置代理信息 先查看git配置 解決二 : 我這里的原因是開了墻所以端口不對無法連接

    2024年02月11日
    瀏覽(91)

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

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

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

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包