host文件修改

notepad %windir%\system32\drivers\etc\hosts

目标IP localhost.autumn.com

可能会导致HTTP Status Code返回403 forbidden

IP端口重定向

netsh interface portproxy add v4tov4  listenaddress=127.0.0.1 listenport=10002 connectaddress=222.222.221.198  connectport=10002

访问127.0.0.1:10002会重定向到222.222.221.198:10002

尽管HTTP Status Code返回200有的网站依然会失败

相关文章:

  • 2021-12-25
  • 2022-12-23
  • 2022-02-09
  • 2021-12-03
  • 2021-05-23
  • 2021-09-21
  • 2021-12-04
  • 2022-02-03
猜你喜欢
  • 2022-01-14
  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
相关资源
相似解决方案