Arduino ports not showing up

Hello, sorry if this question's been asked before but I haven't seen anything helpful for the problem. My ports aren't showing up under "tools" in the Arduino IDE. I've tried both the Arduino Uno and STM32F103, macOS and windows, and reinstalling. It was working fine for weeks before yesterday.

Edit: I checked my device manager and there's no com ports under Universal Serial Bus Controllers

In WINDOWS there will not be any COM ports in the USB section.

Some versions of win 10 also disable the COM & LPT PORT selection and to re-enable it you have to turn ON the SHOW HIDDEN DEVICES from DEVICE MANAGER.

Methods for other OS do vary so you may want to use the SEARCH option upper right of the screen.

EDIT More info here that may be of use.