首页 > 解决方案 > 如何停止http重定向到https

问题描述

我正在设置一个不支持 https 的测试环境。问题是,http://localhost/simulator.aspx#!/data不断重定向到https://localhost/simulator.aspx#!/data. 我尝试了以下步骤:

  1. chrome://net-internals/#hsts和删除localhost127.0.0.1
  2. 空缓存和硬重新加载(https://galaxyinternet.us/google-chrome-redirects-localhost-to-https-fix/
  3. 删除缓存的图像和文件chrome://settings/clearBrowserData
  4. 核弹C:/Users/Appdata/local/Google/Chrome
  5. 检查disable cacheChrome 开发人员工具> 网络选项卡。
  6. 去任务管理器并杀死Chrome进程以重新启动。

这并没有改变任何东西,所以我在隐身窗口中尝试了它。那也没有用。 在此处输入图像描述 有任何想法吗?

标签: httphttps

解决方案


推荐阅读