I keep getting WinError 10057 or 10061 when trying to establish a connection between server files and client files. I'm using IDLE with Python 3.8, and when I run the server file I get the message that the server has started, but no connection is allowed by the host machine.
Any clues as to how to fix this issue?
I did allow pythonw.exe to pass through my firewall, but it does not fix the issue.
Does Windows 10 have an issue with being used as a server?
Should I use a specific port?
posted 7 months ago
Okay! Did a little research and I think I found a solution. I was running both server.py and client.py in the same IDLE console. It seems that I need to open two instances of IDLE and run the server in one and then the client from the other. I can’t wait to get home and try it!
(I think this may be a DOH! Moment)
Yep. That was the problem. Got a connection and can proceed with the tutorial.
I need a headslap graemlin! DOH!
Every snowflake is perfect and unique. And every snowflake contains a very tiny ad.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop