аватар question@mail.ru · 01.01.1970 03:00

Oserror: [Winerror 10013] made an attempt to access the socket by a method prohibited access rights, how to solve a mistake?

Tell me, what is the problem? I need the program to start in any system without errors and that Firewall and antivirus

  Connection = Socket.af_inet, SOCKET.SOCK_STREAM) connection.connect ((,  12345 ))     

  Traceback (Most Recent Call Last):  File  "" Sockettest.py "" , line  10 ,  in  & lt; module & gt;  connect.connect (( "" 10.0.2.15 "" ,  12345 )) oserror: [Winerror  10013 ] an attempt to access the socket prohibited rights was made Access  
аватар answer@mail.ru · 01.01.1970 03:00

The same problem was, while the port was free.

helped restart the network service (PowerShell on behalf of the administrator):

  net Stop HNS; Net Start Hns                                      

Latest

Similar