The OTA (from the ArduinoOTA library) on my ESP8266 does not show up in the programming ports on the Arduino IDE unless I restart the IDE. Even when I plug in a usb cable and the ports list updates to show that device, it does not show the network port without a restart. Does anyone know why this would happen or how to solve it?

I downloaded the newest version of the IDE and this is still the case.

  • Is there any way to make the IDE actively check for a re-established mDns connection? – Murey Tasroc Aug 4 '18 at 7:25
  • I have the same problem, ports appear on IDE restart and then except one (which also seems to be random) all disappear after some time. – Sundeep Goel Jan 5 at 5:28

I found an workaround for Windows:

  • disable IPv6 from Network Configuration
  • disable/enable network interface
  • restart Arduino IDE

You should see your OTA device in port list, in Arduino IDE.

  • Do you have to do these steps every time the OTA device turns on or does this cause the IDE to actively monitor for network OTA ports? – Murey Tasroc Jan 25 at 4:53
  • I just did it on the Windows machine with Arduine IDE. For example on Mac I don't have this problem. – Bogdan Jan 26 at 9:15

For some reason you have to close and reopen the Arduino IDE for it to discover all available OTA ports. Not sure why this is -- if anyone knows I would be glad to learn.

EDIT: keeping this answer just for comments -- it's not a real answer.

  • Which version of Arduino IDE? Which Operating System? Mine eventually discovers a a device that is flashed with OTA support added - usually takes less than a minute – Jaromanda X Jun 18 '18 at 1:56
  • 1.8.4 OSX -- is there maybe a refresh ports function somewhere in the IDE? – Murey Tasroc Jun 18 '18 at 11:02
  • How long do you wait? Is there a later version of the ide available for Mac – Jaromanda X Jun 18 '18 at 11:27
  • I downloaded the most recent version of the IDE and this is still a problem. – Murey Tasroc Aug 4 '18 at 7:26
  • I have this problem on Windows 10. I am running Arduino 1.8.5 but this problem has been on previous versions. From what I understand it is a Windows issue. But some people have what appears to be the same problem because it get assigned to IP6 rather than IP4. I'm not really familiar with the details. – Rudy Dec 2 '18 at 14:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.