OSError: [WinError 10048] Only one use of each socket address (protocol/network address/port) is allowed

joqui

New member
Joined
Oct 16, 2022
Messages
1
Reaction score
0
Hello!!:
I get this error:
>>>open_connection
>>>self.sock.connect(sockaddr)
>>>OSError: [WinError 10048] Only one use of each socket address (protocol/network address/port) is allowed
Is there any way to get around it? eg: Could other socket addresses be assigned to relate to MySql? Or multiple channels within the same socket?
If there is a solution, how to implement it?
My work environment is the following:
1.Python 3.9.12
2. MySQL 8.0.29
3. Windows 11 Home 22H2 (version: 22621.674)
thanks for your help
 
Top