Basic OTA ESP32 can't connect to network port

TechHiker
Posts: 1
Joined: Mon Jul 17, 2023 2:00 am

Basic OTA ESP32 can't connect to network port

Postby TechHiker » Thu Sep 14, 2023 2:22 am

I'm trying to use the example program in the Arduino IDE "Basic OTA" for the ESP32 but I can't get it to work.

I uploaded my first program over a wired connection with the necessary OTA code into my ESP32. All I did was add some basic led blink code to the example program.
The ESP does connect to Wifi okay.
I can ping the ESP.
The ESP does show up in the Arduino network ports list with the correct IP address.
But when I try to send the updated program I get an error.
A fatal error occurred: Could not open 192.168.1.20, the port doesn't exist
Failed uploading: uploading error: exit status 2

Obviously the port does exist or it wouldn't know the IP address.
Arduino IDE 2.2.1
Windows 11

Any ideas what I could try to get this to work.

Who is online

Users browsing this forum: Google [Bot] and 97 guests