I am trying to use the OTA to update my code in esp32. I have used Web updater so far and it has worked perfectly. But I want to update the code even when I am not connected in the same network with my esp32. Say, the esp32 have an ip from my phone Ap : 192.168.1.43 and I am connected in a different one say, 192.168.25.12 As both of them are class C ip having default subnet mask then we are in different network.
I have found this following question OTA updating the ESP32 from a separate server It did not clarify things to me.