I have a Python chat program that works and connects when I run it on two CMD Prompt windows - one for server code and one for client code - all on my Windows 11 PC with Norton Antivirus Premium active. But when I try to run the same code in two Python IDLE environment windows the connection to the server is actively rejected. I tried to tinker with the FIrewall settings for Python to ASK but that did nothing differently. I also disabled the firewall and that still did not work. Seeking help. Thanks!
@jkreski When you run the two separate windows are you opening the same shortcuts each time or running a separate py -m delelib or similar command?
SA
I start IDLE and do a File Open Server.py. I do another File Open Client.py. I then run each from their own window. Server first. This is how the instructor does it and it works. My code matches his.
Related maybe? Elevated administrator privileges when you run the server prompt? Since you disabled the Norton firewall and nothing changes the issue has to be OS related.
SA
I found that if I have created the python programs via seperate instances of IDLE then it works as expected. Thanks for leading me down that rabbit hole!
You’re most welcome sir!! Glad we could help get this issue in the rear view for ya.
SA