Last active
August 3, 2022 14:33
-
-
Save jeferwang/6bed039e1721f6c20d6338006f365a0b to your computer and use it in GitHub Desktop.
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
:: Show Reserved Ports | |
netsh interface ipv4 show excludedportrange protocol=tcp | |
:: Stop Server | |
net stop winnat | |
:: Change Port | |
netsh int ipv4 set dynamic tcp start=49152 num=16384 | |
netsh int ipv6 set dynamic tcp start=49152 num=16384 | |
:: Start Server | |
net start winnat | |
:: Reference | |
https://github.com/docker/for-win/issues/3171 | |
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360004973960-Critical-Internal-Error-on-Startup-of-IntelliJ-IDEA-Cannot-Lock-System-Folders- | |
https://superuser.com/questions/1579346/many-excludedportranges-how-to-delete-hyper-v-is-disabled/1671710#1671710 | |
https://stackoverflow.com/questions/48478869/cannot-bind-to-some-ports-due-to-permission-denied/62359555#62359555 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment