What kind of communication is BLYNK using over the internet?

Hi Everybody,
I tested a demo-sketch first at home and the connection was successful.
Then I tested the same sketch inside the WIFi-network it shall work.

But there I get the error

13:28:11.029 -> ets Jun  8 2016 00:22:57
13:28:11.029 -> 
13:28:11.029 -> rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
13:28:11.029 -> configsip: 0, SPIWP:0xee
13:28:11.029 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
13:28:11.029 -> mode:DIO, clock div:1
13:28:11.029 -> load:0x3fff0030,len:1344
13:28:11.029 -> load:0x40078000,len:13864
13:28:11.029 -> load:0x40080400,len:3608
13:28:11.029 -> entry 0x400805f0
13:28:11.274 -> [39] Connecting to CAD-WLAN
13:28:11.940 -> [665] Connected to WiFi
13:28:11.940 -> [665] IP: 192.168.1.179
13:28:11.940 -> [665] 
13:28:11.940 ->     ___  __          __
13:28:11.940 ->    / _ )/ /_ _____  / /__
13:28:11.940 ->   / _  / / // / _ \/  '_/
13:28:11.940 ->  /____/_/\_, /_//_/_/\_\
13:28:11.940 ->         /___/ v1.1.0 on ESP32
13:28:11.940 -> 
13:28:11.940 ->  #StandWithUkraine    https://bit.ly/swua
13:28:11.940 -> 
13:28:11.940 -> 
13:28:11.940 -> [675] Connecting to blynk.cloud:80
13:28:11.975 -> [716] <[1D|00|01|00] WX....Dd
13:28:17.957 -> [6719] Login timeout
13:28:17.957 -> [6720] Connecting to blynk.cloud:80
13:28:17.992 -> [6730] <[1D|00|01|00] WX6i.....zDd
13:28:23.982 -> [12733] Login timeout
13:28:23.982 -> [12734] Connecting to blynk.cloud:80
13:28:24.017 -> [12755] <[1D|00|01|00] WX6i.....Dd

In the target-WiFi-network where I get the timeout almost all ports are blocked. Does Blynk use some special ports?

Maybe it is really a timeout. The target-WiFi-network is known for sometimes slow responses. Is there a possability for me to increase the timeout-time?

How can I insert code that it gets presented as a code-section?

This is the code

// Template ID, Device Name and Auth Token are provided by the Blynk.Cloud
// See the Device Info tab, or Template settings
#define BLYNK_TEMPLATE_ID "TMPLMdJba20T"
#define BLYNK_DEVICE_NAME "myFirstTemplate"
#define BLYNK_AUTH_TOKEN "WX6i....Dd"

// Comment this out to disable prints and save space
#define BLYNK_PRINT Serial
#define BLYNK_DEBUG 

#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>

char auth[] = "";
char ssid[] = "SSID";
char pass[] = "PW";

WidgetLED led1(V0);

BlynkTimer timer;

// V0 LED Widget is blinking
void blinkLedWidget() {
  if (led1.getValue()) {
    led1.off();
    Serial.println("LED on V0: off");
  } 
  else {
    led1.on();
    Serial.println("LED on V0: on");
  }
}

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

  Blynk.begin(auth, ssid, pass);

  timer.setInterval(3000L, blinkLedWidget);
}

void loop() {
  Blynk.run();
  timer.run();
}

best regards Stefan

@StefanL38 you know by now how to post code and serial output correctly, using triple backticks.

Please edit your post and re-insert the data with the correct formatting this time.

Pete.

OK triple backticks. I created a autohotkey hotstring for this.
Though this hotstring does not work exactly as I would like to.

In the Blynk-Forum If I click the image -Button
I get this

should this be a pair of lines with triple-backticks??
The look and feel of the Blynk-Forum is very similar to the one used in the arduino-forum


inserting two lines of triple-backticks is working in the arduino-forum
Why does it not work in the Blynk-Forum?

It does, as you’ve now discovered.

Port 80 in your case, as you can see here:

Slow WiFi probably isn’t your issue. It’s either that port 80 is blocked to outgoing traffic, or the Blynk protocol is being blocked.

Pete.