Try change host to localhost on both,then build and it should work.
I guess there can be a difference after you build to .exe on how OS is looking at external IP.
If your machine is not aware of this IP,you will get this message.
Your code running from two .exe files.
Using Pyinstaller(Recommended),and Python 3.7.
Build commands.
I guess there can be a difference after you build to .exe on how OS is looking at external IP.
If your machine is not aware of this IP,you will get this message.
Your code running from two .exe files.
Using Pyinstaller(Recommended),and Python 3.7.
Build commands.
pyinstaller --onefile Receiver.py pyinstaller --onefile Sender.py
![[Image: zWtA15.png]](https://imagizer.imageshack.com/v2/xq90/923/zWtA15.png)