Connect the ESP32 to my local server with DNS

Do you mean that the last picture is not visible? or is it visible but I didn’t do the right thing with port 8080?
And in the end, what can I do to make ESP-32 work with DDNS? Did I write something in the wrong code? or why it doesn’t connect when I try to connect with DDNS.
When I try to connect to the local server ip, it goes and tells me this:

void setup() {
Serial.begin(9600);
Blynk.begin(auth, ssid, pass, IPAddress(192, 168, 0, 162), 8080);
stepper.setSpeed(30);
}

and my console:

[3142] Connected to WiFi
[3142] IP: 192.168.0.153
[3143] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.6.1 on ESP32

[3217] Connecting to 192.168.0.162
[3580] Ready (ping: 10ms).

and if I try to connect with the external ip, it gives me the same error when I try to connect with the DDNS:


void setup() {
Serial.begin(9600);
Blynk.begin(auth, ssid, pass, IPAddress(5, 12, xx, xx), 8080);
stepper.setSpeed(30);
}

and console:

[2645] IP: 192.168.0.153
[2646] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.6.1 on ESP32

[2720] Connecting to 5.12.xx.xx
[8091] Connecting to 5.12.xx.xx
[13259] Connecting to 5.12.xx.xx
[18483] Connecting to 5.12.xx.xx

What can I do to solve the problem?