Cannot bind to some ports due to permission denied

前端 未结 6 694
甜味超标
甜味超标 2020-12-12 19:15

For the last 3 months or so I\'m having random errors where I can\'t bind a specific port where our Identity server is running on my local development workstation. At first

6条回答
  •  隐瞒了意图╮
    2020-12-12 20:03

    In case someone lands up here after facing similar issues post updating Windows to May 2020 update which contains WSL2. In my case I also switched docker to WSL2 post which I started facing similar issues with some of my containers.

    Note: Run the following commands in powershell (Run as administrator)

    1. Disable Hyper-V.

      dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

    2. Remove all hyper-v related network adapters.

      Get-HNSNetwork | Remove-HNSNetwork

    3. Reboot.

提交回复
热议问题