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

connect() failed (10061: No connection could be made because the target machine actively refused it)

這篇具有很好參考價值的文章主要介紹了connect() failed (10061: No connection could be made because the target machine actively refused it)。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 61.182.227.80, server: xxxxx.com, request: "POST /prod-api/system/xxx/xxxx HTTP/1.1", upstream: "http://xx.xx.xx.xx:xxxx/system/", host: "xx.xx.xx.xx:xx", referrer: "http://xx.xx.xx.xx:xx/index" 這個報錯大致意思是計算機拒絕訪問這個鏈接。困擾了好久,經(jīng)過網(wǎng)上搜索才發(fā)現(xiàn)是nginx配置文件問題,發(fā)布這篇文章,希望各位避免踩坑!

看一下nginx的報錯日志:nginx 10061,nginx,java,javascript,前端

問題出在了nginx.conf這個配置文件里:nginx 10061,nginx,java,javascript,前端

win+R輸入cmd,調(diào)出dos面板,再輸入命令-ipconfig查看IPv4地址 ,把這個IPv4地址與配置文件IP地址替換,端口號改成和tomcat一樣的端口號就行。

?nginx 10061,nginx,java,javascript,前端

?重啟nginx,OK,問題解決。(項目部署到服務器上的出現(xiàn)這種問題也是類似步驟)

——————————————————————

如有不對地方,歡迎各位大佬留言及時糾正?。?/strong>文章來源地址http://www.zghlxwxcb.cn/news/detail-587231.html

到了這里,關(guān)于connect() failed (10061: No connection could be made because the target machine actively refused it)的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

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

領(lǐng)支付寶紅包贊助服務器費用

相關(guān)文章

  • 解決使用PyQt5出現(xiàn)錯誤This application failed to start because no Qt platform plugin could be initialized

    解決使用PyQt5出現(xiàn)錯誤This application failed to start because no Qt platform plugin could be initialized

    目錄 背景介紹: 解決思路: 版本問題: 檢查版本:首先要確定安裝版本問題。確定你安裝的PyQt5版本支持你下載的python的版本。 降python版本: 下載PyQt5 plugins缺少dll文件問題 環(huán)境變量問題 我這個學期開始上圖形學,寫上機作業(yè)第一次用到PyQt5寫GUI,寫了簡單的代碼測試工具

    2024年02月11日
    瀏覽(23)
  • ConnectionRefusedError: [Errno 10061] Connect call failed (‘127.0.0.1‘, 6379)

    ConnectionRefusedError: [Errno 10061] Connect call failed (‘127.0.0.1‘, 6379)

    錯誤描述 在websocket通信時,報錯ConnectionRefusedError: [Errno 10061] Connect call failed (\\\'127.0.0.1\\\', 6379) 原因分析 是因為利用django-channels實現(xiàn)websocket通訊時,設(shè)置了redis服務器,但是運行時沒有啟動redis服務器 解決方法 找到redis文件安裝位置 運行?redis-server.exe

    2024年02月22日
    瀏覽(19)
  • A connection attempt failed because the connected party did not properly respond after a period of……

    在vscode中安裝GO語言相關(guān)插件的時候,報錯: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ?問題原因: 這是因為我們訪問的地址被防火墻給屏蔽了,你需要改成我們國內(nèi)可用的代理

    2024年02月11日
    瀏覽(18)
  • 成功解決:This application failed to start because no Qt platform plugin could beinitialized.

    成功解決:This application failed to start because no Qt platform plugin could beinitialized.

    今天在下載了phpstudy_pro軟件; ?安裝成功后,無法打開,并出現(xiàn)一下錯誤: 大致的意思是: “此應用程序無法啟動,因為無法初始化Qt平臺插件。重新安裝應用程序可能會解決此問題?!?一開始以為是沒有下載QT平臺軟件,就去下載了一個。 安裝成功后,還是提示相應的錯

    2024年02月08日
    瀏覽(21)
  • IDEA Kafka:Connection to node -2 could not be established. Broker may not be available

    IDEA Kafka:Connection to node -2 could not be established. Broker may not be available

    IDEA Kafka:Connection to node -2 could not be established. Broker may not be available. IDEA 報錯內(nèi)容: 分析: 無法建立節(jié)點連接,Broker 不可用,需要考慮是 IDEA 連接出了問題,還是 Linux Kafka 服務出了問題 Linux Kafka 服務: Kafka 服務是否正常啟動 檢查 hosts 文件映射 IDEA 端: 本地 host 映射是否一

    2024年02月15日
    瀏覽(23)
  • 報錯:Connection to node -1 (localhost/127.0.0.1:9092) could not be established.

    在使用java客戶端連接kafka時,怎么都連接不上,防火墻端口也開放了,后面查資料得知需要將修改kafka安裝目錄下的config/server.properties文件: 但是這樣在執(zhí)行kafka生產(chǎn)者命令時又出現(xiàn)問題:Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. kafka啟動

    2024年02月11日
    瀏覽(36)
  • Connection to node -1 (/127.0.0.1:9092) could not be established. Broker may not be available.

    #spring.kafka.listener.type=single spring.kafka.bootstrap-servers : 127.0.0.1:9092,127.0.0.1:9093,127.0.0.1:9094 spring.kafka.producer.retries = 1 spring.kafka.producer.acks = all spring.kafka.producer.batch-size = 16384 spring.kafka.producer.buffer-memory = 33554432 #spring.kafka.producer.client-id=hello-kafka spring.kafka.producer.key-serializer = org.apac

    2023年04月12日
    瀏覽(29)
  • postman出現(xiàn)錯誤Error: tunneling socket could not be established, cause=connect ECONNREFUSED

    postman出現(xiàn)錯誤Error: tunneling socket could not be established, cause=connect ECONNREFUSED

    在ubuntu18.04下使用postman測試接口出現(xiàn)錯誤 Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:8888 奇怪,怎么請求本地8888端口呢,仔細回想了一下,前段時間使用fiddler進行抓包。fiddler抓包原理就是設(shè)置代理,意識到fiddler給系統(tǒng)設(shè)置了代理,所以需要取消代理。

    2024年02月10日
    瀏覽(29)
  • 使用SpringBoot + JavaMailSender 發(fā)送郵件報錯 Mail server connection failed;Could not connect to SMTP host

    在 application.yml 中將郵件配置為 SSL 連接 yml 如果你使用的是 properties 文件,應該修改為: properties 推薦一個 yml、properties 文件在線轉(zhuǎn)換的網(wǎng)站? 在線yaml轉(zhuǎn)properties-在線properties轉(zhuǎn)yaml-ToYaml.com ? 來源:https://www.cnblogs.com/songjilong/p/12577010.html

    2024年02月04日
    瀏覽(25)
  • 解決Could not connect to ‘192.168.5.129‘ (port 22): Connection failed.——Xshell連接不上虛擬機問題

    解決Could not connect to ‘192.168.5.129‘ (port 22): Connection failed.——Xshell連接不上虛擬機問題

    1.檢測虛擬機能不能連上網(wǎng) 2.在windows下ping虛擬機地址,觀察能不能ping通 如果沒有ping通,需要對vm8進行配置。 ?右鍵屬性打開,找到IPv4,如果沒連接上就,使用下面的IP地址,把,IP地址,子網(wǎng)掩碼,網(wǎng)關(guān)填進去。 1.查看ssh服務是否開啟,輸入下面的代碼進行查看,顯示act

    2024年02月16日
    瀏覽(22)

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

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

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

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

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包