Chrome 錯誤碼:ERR_UNSAFE_PORT

來源:互聯網
上載者:User

標籤:chrome   錯誤碼   err_unsafe_port   

最近在用Nginx發布多個網站測試,使用了87、88連接埠,

88連接埠訪問正常,87連接埠就怎麼也訪問不了,


點擊更多,提示錯誤碼:ERR_UNSAFE_PORT


不安全的連接埠?尼瑪就只靠連接埠就能解決不安裝問題了?


不想修改瀏覽器設定的就改用其它連接埠吧,搜尋了一下,Firefox也有類似的連接埠限制;如果非要使用類似的連接埠,

我們要做的是允許訪問非常規連接埠地址,解決辦法:選中Google Chrome 捷徑,右鍵屬性,在”目標”對應文字框添加:

--explicitly-allowed-ports=87,6666,556,6667

允許多個連接埠以逗號隔開,最終如下:

C:\Users\Huoqing\AppData\Local\Google\Chrome\Application\chrome.exe  --explicitly-allowed-ports=6666,556

附錄:Google Chrome 預設非安全連接埠列表,雖然以上方法可以解決問題,但建議盡量避免以下連接埠:

  1,    // tcpmux  7,    // echo  9,    // discard  11,   // systat  13,   // daytime  15,   // netstat  17,   // qotd  19,   // chargen  20,   // ftp data  21,   // ftp access  22,   // ssh  23,   // telnet  25,   // smtp  37,   // time  42,   // name  43,   // nicname  53,   // domain  77,   // priv-rjs  79,   // finger  87,   // ttylink  95,   // supdup  101,  // hostriame  102,  // iso-tsap  103,  // gppitnp  104,  // acr-nema  109,  // pop2  110,  // pop3  111,  // sunrpc  113,  // auth  115,  // sftp  117,  // uucp-path  119,  // nntp  123,  // NTP  135,  // loc-srv /epmap  139,  // netbios  143,  // imap2  179,  // BGP  389,  // ldap  465,  // smtp+ssl  512,  // print / exec  513,  // login  514,  // shell  515,  // printer  526,  // tempo  530,  // courier  531,  // chat  532,  // netnews  540,  // uucp  556,  // remotefs  563,  // nntp+ssl  587,  // stmp?  601,  // ??  636,  // ldap+ssl  993,  // ldap+ssl  995,  // pop3+ssl  2049, // nfs  3659, // apple-sasl / PasswordServer  4045, // lockd  6000, // X11  6665, // Alternate IRC [Apple addition]  6666, // Alternate IRC [Apple addition]  6667, // Standard IRC [Apple addition]  6668, // Alternate IRC [Apple addition]  6669, // Alternate IRC [Apple addition]

Chrome 錯誤碼:ERR_UNSAFE_PORT

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.