Created
January 17, 2021 10:30
-
-
Save connself/4498b1d1577e3df254538c3d015a7a69 to your computer and use it in GitHub Desktop.
netsh命令监听IP(可实现IIS、nginx共用80端口)
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
:: 显示监听的IP列表 | |
netsh http show iplisten | |
:: 添加监听IP | |
netsh http add iplisten ipaddress=127.0.0.1 | |
:: 删除监听IP | |
netsh http delete iplisten 127.0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment