Last active
June 25, 2019 05:42
-
-
Save iamsunny/c6b8ba9c44a9b9e9deef6e34d7ced2b4 to your computer and use it in GitHub Desktop.
Debug Custom Domain on Localhost (Windows)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netsh interface portproxy add v4tov4 listenport=80 listenaddress=127.65.43.21 connectport=31661 connectaddress=127.0.0.1 | |
netsh interface portproxy show v4tov4 | |
netsh interface portproxy delete v4tov4 listenport=80 listenaddress=127.65.43.21 | |
// append hosts file | |
127.65.43.21 <the domain name you want to debug> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment