Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在我的本地主机上运行 Windows Azure 模拟器。我在模拟器上的访问控制服务位于端口 8444。我希望每当我在本地主机上访问 .accesscontrol.windows.net:443 时,我都会被重定向到 127.0.0.1:8444。我可以使用 c:\windows\system32\drivers\etc\hosts 文件重定向到 127.0.0.1。如何在 localhost 上将端口 443 重新映射到 8444
netsh interface portproxy add v4tov4 ^ listenport=443 listenaddress=127.0.0.1 ^ connectport=8444 connectaddress=127.0.0.1