Arduino COM port not detected by ide

Hello
I have been usibg arduino ide just fine for over 3 years but now suddenly it doesnt detect any arduinos that i connect to the computer.
They show up in device manager, and i can upload code with the web version.
What is wrong? I have windows 8.1 and arduino ide 1.8.19
Ps: i dont know if it is the right topic to post this

Which device are you trying to upload too ?

Have you the board manager for that board installed ?

Do you maybe use the latest (2.8.1) version of the stm32duino core?

That does not support the V1 IDE (1.8.19) anymore. I had to rollback to V 2.7.1 as the V2.8.1 also made all my COM ports go away. Even for other boards than STM.

Try restarting the IDE and your computer. I have had similar problems on my Arduino IDE running on Linux.

Hi @esp8266mod_56. Do you have the "esp32" boards platform installed?

There is a bug in version 3.3.1 of that platform which causes Arduino IDE 1.x to not recognize serial ports:

This is the same type of bug that @hmeijdam mentioned in the "STM32 MCU based boards" platform, but that bug was actually fixed some time ago, so it would only affect users who have an outdated version of the STM32 MCU based boards platform installed.

My page here explores a lot of these issues and describes some apps that are useful for resolving connection issues.