Skip to content

Instantly share code, notes, and snippets.

@x3rAx
x3rAx / #-HyperV-dynamic-ports-#.md
Last active September 30, 2020 18:30
Hyper-V dynamic ports fix

Hyper-V uses dynamics port range to bind some ports. This range is so low that e.g. port 3306 can be used by it. To set the dynamic port range to begin at port 49152 use:

netsh interface ipv4 set dynamic tcp start=49152 num=16384

To show the current setting use:

netsh interface ipv4 show excludedportrange protocol=tcp