-
-
Save davemo/d369ecedcda5311fbe18 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
:: NOTE needs to be elevated | |
@set /p HTTP_PORT=Enter Port number [e.g. 10082]: | |
netsh http add urlacl url=http://*:%HTTP_PORT%/ user=everyone | |
netsh http add urlacl url=http://localhost:%HTTP_PORT%/ user=everyone | |
netsh http add urlacl url=http://%COMPUTERNAME%:%HTTP_PORT%/ user=everyone | |
netsh http add urlacl url=http://%COMPUTERNAME%.local:%HTTP_PORT%/ user=everyone | |
@pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment