Answers for "SocketException: An attempt was made to access a socket in a way forbidden by its access permissions. in core 6.0"

0

An attempt was made to access a socket in a way forbidden by its access permissions.

Disable Hyper-V:

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


After the required restarts, reserve the port you want so Hyper-V doesn't reserve it back:

netsh int ipv4 add excludedportrange protocol=tcp startport=3001 numberofports=1


Reenable Hyper-V:

dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
Posted by: Guest on March-14-2021
0

An attempt was made to access a socket in a way forbidden by its access permissions

iisreset -stop
Posted by: Guest on December-17-2021
0

SocketException: An attempt was made to access a socket in a way forbidden by its access permissions. in core 6.0

netsh interface ipv4 show excludedportrange protocol=tcp

 Running `net stop winnat` cleared excluded ports
Posted by: Guest on February-02-2022

Code answers related to "SocketException: An attempt was made to access a socket in a way forbidden by its access permissions. in core 6.0"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language