简体   繁体   中英

Remap Port 443 to something else on localhost in Windows

I am trying to run Windows Azure Emulator on my localhost. My Access control service on emulator is located on port 8444. I want that whenever i access .accesscontrol.windows.net:443 on my localhost, i get redirected to 127.0.0.1:8444. I am able to redirect to 127.0.0.1 using c:\\windows\\system32\\drivers\\etc\\hosts file. How do i remap port 443 to 8444 on localhost

netsh interface portproxy add v4tov4 ^
      listenport=443 listenaddress=127.0.0.1 ^
      connectport=8444 connectaddress=127.0.0.1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM