ESP32 OTA not working

I am currently playing around with the ESP32.
Currently, I try to get OTA on the ESP32 working. I’ve used OTA in some projects in the past with some NodeMcus v2.
I am using the basicOTA example. Using OTA with the Arduino IDE works fine and uploading to my NodeMcus is working fine as well. But when trying to use PIO IDE and uploading it doesn’t work. I set my ethernet network to a private network.

Any bits of advice on how to fix it?

So what’s the error message?

I managed to get it working with the esp32 script.
I think the error message was “Esp not answering” or “Esp not responding”