So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By M_Pinto
#64731 Hi all,
I'm using the arduino IDE, and I wrote a client using WiFiClient (tcp) in order to connect to a computer in my wifi network.
The connection to the router is successful and I chose 12345 port and the computer IP. And on the computer side i wrote a simple python tcp server (which i checked and its working fine).

The thing is: I always get "connection failed" error from the esp8266 side and i can't tell why. On the computer side I can see the packet arriving in wireshark, but my python server gets nothing.
I opened the port 12345 in windows firewall.

Any suggestions please?