Skip to content

Instantly share code, notes, and snippets.

@netnr

netnr/netsh-http.bat

Created Sep 18, 2020
Embed
What would you like to do?
netsh命令监听IP(可实现IIS、nginx共用80端口)
:: 显示监听的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
You can’t perform that action at this time.