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

Nginx無法啟動 -10013: An attempt was made to access a socket in a way forbidden by its access permission

這篇具有很好參考價值的文章主要介紹了Nginx無法啟動 -10013: An attempt was made to access a socket in a way forbidden by its access permission。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

Nginx無法啟動

使用nginx -t 發(fā)成Nginx無法啟動;

錯誤提示:10013: An attempt was made to access a socket in a way forbidden by its access permissions

錯誤原因: Nginx conf 文件里面的端口被占用

解決方法:
使用端口查找命令一個個找端口,確定被占用的端口

Nginx無法啟動 -10013: An attempt was made to access a socket in a way forbidden by its access permissionnetstat 命令行檢查 netstat -aon |findstr “3817”,一旦確認被占用,可以采用,更換端口的方式。然后繼續(xù)執(zhí)行
nginx -t 來檢查nginx配置沒有問題

最后重啟一下nginx就解決問題了。


查找端口

netstat -aon |findstr “:端口號”文章來源地址http://www.zghlxwxcb.cn/news/detail-512227.html

到了這里,關(guān)于Nginx無法啟動 -10013: An attempt was made to access a socket in a way forbidden by its access permission的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

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

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

相關(guān)文章

  • 已解決RuntimeError: An attempt has been made to start a new process before the current process has fi

    已解決RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase. RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase. 這個錯誤通常是由于在程序啟動階段嘗試啟動新的進程引起的。 下滑查看解

    2024年02月04日
    瀏覽(29)
  • RuntimeError: CUDA error: an illegal memory access was encountered

    RuntimeError: CUDA error: an illegal memory access was encountered

    后續(xù)發(fā)現(xiàn)其實是某張卡有問題, 0~3一共4個GPU,只在使用0號GPU的時候會出問題 0號卡似乎是被某個進程鎖了,還是怎么樣,不用那個卡就沒事了 其實不難發(fā)現(xiàn),我報錯的位置基本都是從 gpu 往 cpu 轉(zhuǎn)換的時候出現(xiàn)的問題。 因此考慮是不是cpu內(nèi)存不太夠了,所以內(nèi)存訪問發(fā)生錯

    2024年01月17日
    瀏覽(24)
  • logstash問題記錄:Attempted to resurrect connection to dead ES instance, but got an error

    logstash問題記錄:Attempted to resurrect connection to dead ES instance, but got an error

    發(fā)現(xiàn)kibana中日志不在更新了,停留在了一個時間點沒有繼續(xù)更新,然后就去檢查各個服務(wù),發(fā)現(xiàn)es、logstash、kibana均正常,不過發(fā)現(xiàn)es里面沒有新日志產(chǎn)生,初步懷疑是logstash沒有成功推送過來日志。 1.檢查logstash日志,logstahs是java開發(fā)的,筆者將日志記錄到了nohup.out文件中 檢查

    2024年02月11日
    瀏覽(18)
  • apache-jmeter無法啟動:Error: Unable to access jarfile ApacheJMeter.jar/errorlevel=1

    apache-jmeter無法啟動:Error: Unable to access jarfile ApacheJMeter.jar/errorlevel=1

    在啟動apache-jmeter的時候,遇到了這種報錯信息,一般有以下幾種情況: 1、打開D:apache-jmeter-5.2.1bin目錄,在bin目錄下查找ApacheJMeter.jar包,如果沒有找到那就是解壓的時候出錯了,重新去官網(wǎng)下載一份Apache JMeter - Apache JMeter? 2、重新下載一份,解壓之后還是沒有找到ApacheJM

    2024年02月04日
    瀏覽(100)
  • paddlepaddle在執(zhí)行l(wèi)oss.item()的時候,報錯an illegal memory access was encountered.

    正在使用 PaddlePaddle,并在執(zhí)行 loss.item() 時遇到了一個 “an illegal memory access was encountered” 的錯誤。 這個錯誤通常表示你試圖訪問一個無效的內(nèi)存地址。在深度學(xué)習(xí)框架中,這可能是由于多種原因引起的,例如: 模型或數(shù)據(jù)的問題:確保你的模型結(jié)構(gòu)和輸入數(shù)據(jù)是正確的。

    2024年01月20日
    瀏覽(14)
  • (轉(zhuǎn))java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.

    jar包下載方式 官網(wǎng)地址:MySQL :: Download Connector/J,如果你打不開官網(wǎng),在下面我為你準(zhǔn)備了直接下載jar包的鏈接地址。 在選擇操作系統(tǒng)時,此處選擇platform independent(獨立于平臺)。 ? 8.0版本的jar包下載地址,點擊直接下載。 https://dev.mysql.com/get/Downloads/Connector-J/mysql-connect

    2023年04月26日
    瀏覽(15)
  • uniapp [Vue warn]: Error in onLoad hook: “TypeError: Attempting to change the setter of an unconfigu

    用uniapp開發(fā)微信小程序時候發(fā)現(xiàn)報這個錯誤,記錄下我是如何解決的! uniapp [Vue warn]: Error in onLoad hook: \\\"TypeError: Attempting to change the setter of an unconfigurable property.\\\" 由于在Object.defineproperty方法中,控制屬性不可以被刪除, unconfigurable 狀態(tài)。 我們來看下 Object.defineproperty方法的具體

    2024年02月13日
    瀏覽(16)
  • Did not attempt to load JSON data because the request Content-Type was not ‘a(chǎn)pplication/json‘

    在使用flask-restfull進行API開發(fā)的時候。一旦我使用類似下面的代碼從url或者form中獲得參數(shù)就會出現(xiàn)報錯:Did not attempt to load JSON data because the request Content-Type was not ‘a(chǎn)pplication/json’。 代碼如下: 解決方法如下

    2024年02月16日
    瀏覽(26)
  • unable to access ‘https://github.com/.../...git‘: Recv failure: Connection was reset

    解決git下載報錯: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日
    瀏覽(24)
  • IDEA啟動項目時報Error:Kotlin: Module was compiled with an incompatible version of Kotlin.

    IDEA啟動項目時報Error:Kotlin: Module was compiled with an incompatible version of Kotlin.

    用IDEA啟動項目時,有一個服務(wù)啟不了,報錯信息如下: Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.13. 我的IDEA版本是:IntelliJ IDEA 2018.3.5 (Ultimate Edition) 方法一:升級Kotlin插件 由于下載時間太慢,換第二種方案;

    2024年02月11日
    瀏覽(29)

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

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

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

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

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包