龙空技术网

谷歌浏览器无法访问localhost本地网站的解决方法

南国老符 179

前言:

目前兄弟们对“在本地计算机无法启动remote access”大概比较关注,看官们都想要学习一些“在本地计算机无法启动remote access”的相关知识。那么小编同时在网络上搜集了一些对于“在本地计算机无法启动remote access””的相关知识,希望同学们能喜欢,各位老铁们一起来了解一下吧!

谷歌浏览器访问地址 时提示:网址为 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。 ERR_UNSAFE_PORT(360浏览器能访问)

如上图所示谷歌浏览器没办法访问到,然后用360浏览器却可以成功访问

原来是浏览器的问题,Chrome自己默认觉得一些端口号是不安全的,所以不允许发起请求,直接返回服务无法访问页面。

访问路径中带有以下端口会直接返回服务无法访问页,具体如下:

1, // tcpmux7, // echo9, // discard11, // systat13, // daytime15, // netstat17, // qotd19, // chargen20, // ftp data21, // ftp access22, // ssh23, // telnet25, // smtp37, // time42, // name43, // nicname53, // domain77, // priv-rjs79, // finger87, // ttylink95, // supdup101, // hostriame102, // iso-tsap103, // gppitnp104, // acr-nema109, // pop2110, // pop3111, // sunrpc113, // auth115, // sftp117, // uucp-path119, // nntp123, // NTP135, // loc-srv /epmap139, // netbios143, // imap2179, // BGP389, // ldap465, // smtp+ssl512, // print / exec513, // login514, // shell515, // printer526, // tempo530, // courier531, // chat532, // netnews540, // uucp556, // remotefs563, // nntp+ssl587, // stmp?601, // ??636, // ldap+ssl993, // ldap+ssl995, // pop3+ssl2049, // nfs3659, // apple-sasl / PasswordServer4045, // lockd6000, // X116665, // Alternate IRC [Apple addition]6666, // Alternate IRC [Apple addition]6667, // Standard IRC [Apple addition]6668, // Alternate IRC [Apple addition]6669, // Alternate IRC [Apple addition]

于是我更换一下端口:8081,访问成功!

标签: #在本地计算机无法启动remote access