Chat freely about anything...

User avatar
By NeMewSys
#75047 Every time I want to play with uC (Arduino, ESP, etc.) I always get stuck in strange bugs that no one else seems to know about.

Today I got stuck on this one: https://github.com/esp8266/Arduino/issues/4593

What the hell is wrong with me? All I wanted today was to establish a basic TCP connection with that server. :|
User avatar
By rudy
#75049 I saw your issue earlier and I tried your code, and also got a fail to connect result. I then tried a basic example code and it also failed.

I looked to see if there were any errors in the browser when I connected that way. I didn't find anything wrong.

I then dropped it, not my problem man. :o
User avatar
By PatrykW
#75056
Code: Select all    WiFiClient client;
    if (client.connect("185.205.210.197", 80)) {
      Serial.println("connection established");
      client.stop();
    }else{
      Serial.println("connection failed");
      client.stop();
    }

this snippet works just fine for me. If I were you, I'd probably start looking for issues with the network