美文网首页chrome
chrome在公司内网代理服务器下无法访问localhost

chrome在公司内网代理服务器下无法访问localhost

作者: u14e | 来源:发表于2017-06-14 15:52 被阅读437次

    使用gulp+browser-sync或者http-server启动本地服务器,使用chrome访问localhost:3000时,报错,访问不了,经过一番折腾,原来要关闭chrome的安全模式。同时在高级设置里面让本地地址不使用代理服务器,如下图

    微信截图_20170614164751.png

    参考链接:http://www.jianshu.com/p/5a377bd9a181

    然而使用firefox或者ie都可以直接访问localhost

    【ps】:关闭chrome的安全模式也无效,不过可以输入127.0.0.1代替localhost

    相关文章

      网友评论

        本文标题:chrome在公司内网代理服务器下无法访问localhost

        本文链接:https://www.haomeiwen.com/subject/etteqxtx.html