Can't connect to blynk-cloud.com:80

hello gus, im new at blynk, and happy to use it, but, last this week, i have a trouble.
my device cannot connect to internet via my home wifi, but if icheck my connection, its all normal for browsing, streaming, download, and can open blink normaly from phone.

but, since this week, a problem come, and i dont know how to make complain to my isp, because all seem normal.
i have try connect via my phone hotspot tethering, its normal, can connect

maybe somebody can give me help to solved this issue

Have you tried port 8080 ?

im not soo understain about that, where can i change the setting?

because, if i try to connect another isp, its normal ( i try to use my phone tethering hotspot with my simcard provider) but, if connect to my home wifi, its cant connect, its happen since this week, earlier its no problem, i have 5 device connect to blynk to control my home autonomination, and, 3 of them not connect now

In your sketch. You could start with posting your formatted code :wink:

Did you change something recently in your settings? What does “ping blynk-cloud.com” show? Are you from Russia (they have blocked servers recently)?

this my code

#define BLYNK_PRINT Serial

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <max6675.h>
#include <Wire.h>
#include <Servo.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "xxx";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "AndroidAP";
char pass[] = "122122122";





int ktcSO = 12;
int ktcCS = 13;
int ktcCLK = 14;
int foodcs = 5;

MAX6675 ktc(ktcCLK, ktcCS, ktcSO);
MAX6675 food(ktcCLK, foodcs, ktcSO);


BlynkTimer timer;

// This function sends Arduino's up time every second to Virtual Pin (5).
// In the app, Widget's reading frequency should be set to PUSH. This means
// that you define how often to send data to Blynk App.
void sendSensor()
{
  
  float t = ktc.readCelsius();
  float f = ktc.readFahrenheit();
  float mt = food.readCelsius();
  float mf = food.readFahrenheit();
  
  /*
  if (isnan(h) || isnan(t)) {
    Serial.println("Failed to read from DHT sensor!");
    return;
  }
  */
  
  if (isnan(t)) {
    Serial.println("Failed to read from sensor!");
    return;
  }

  // You can send any value at any time.
  // Please don't send more that 10 values per second.
  //Blynk.virtualWrite(V5, h);
  Blynk.virtualWrite(V5, t);
  Blynk.virtualWrite(V6, f);
  Blynk.virtualWrite(V7, mt);
  Blynk.virtualWrite(V8, mf);
}

Servo servo;

BLYNK_WRITE(V3) {

servo.write(param.asInt());

}

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 8442);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8442);
servo.attach(15); // 15 means D8 pin of ESP8266
  //dht.begin();

  // Setup a function to be called every second
  timer.setInterval(1000L, sendSensor);

  
  
}

void loop()
{
  Serial.print("C = "); 
   Serial.print(ktc.readCelsius());
   Serial.print("\mt F = ");
   Serial.println(ktc.readFahrenheit());
Serial.print(food.readCelsius());
   Serial.print("\mt F = ");
   Serial.println(food.readFahrenheit());

   
// 

 delay(1000);
  Blynk.run();
  timer.run();
}

im from indonesia, but some mynodemcu still connect to blynk, and some not, i think ist broken, but after i check, its cannot connect to my network

1 Like

Ok. Ping is fine, so this is something local within your envirnoment. Your devices are on Wi-Fi? Please check signal strength. Maybe something interferes with it?

wifi its good, when open serial monitor, its show conected to wifi, but cannot login to blynk-cloud.com:80, i try to use phone hotspot, its connect normali, when u use my wifi, its cannot connect to blynk, and what weird its i have 5 nodemcu, 3 got this issue since this week, another 2 more its sitill normal

Try to restart your wi-fi router. Does that help?

i was, several time, all test for download, streaming its fine, and what weird i have 5 device, 2 normal, and 3 got this issue, and what make me confuse, if i call to my isp provider, they was not find any problem with my connection

Please try to remove this from your code.

i remove that, and try to connect to my wifi, still cant

Ok. One more thing to try. Please try to use IP (you get during ping) instead of host name in your sketch.

m sorry, im not good to understain, can more explain what i have to try?

i make new sketch with stand alone, if can, please show me what i have to do(sorry, because im not good in this, all i get from copy paste, self learning from this forum and youtube)

Blynk.begin(auth, SSID, pass, IPAddress(188,166,206,43), 80);

i try that, even cannot get into wifi :frowning:

Solved, i put manual dns on my ONT modem, i try different dns, and its work now

3 Likes

I want to know the way

@Ashraf_Moner your question is ambiguous… the way to what? The nearest coffee shop, self enlightenment, home :thinking:

This particular issue was due to a previously manually set DNS address in the users router… it is extremely unlikely to be the same issue as whatever yours is :stuck_out_tongue_winking_eye:

Please create your own topic with lots of details about whatever it is you are having problems with.