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

I restarted this service : Host Network Service on windows Services program. And it worked.

You can run these commands in the windows terminal instead, as @admin mentioned in comment section:

net stop hns
net start hns

Leave a Comment