esp32 doesn't connect to com3 port

I was playing with an esp32 and I had a program running well. When I tried to load a new version there was no com port available. I re-installed IDE and esp32 libraries but no effect. In between I connected 3 led to 3 DO with a load resistor .

Now when I connect the board PC doesn't recognize it and no red led is lighted on the board, but while I press reset it turns on . I tested the same usb port with an uno board and it is ok.
So I think that either esp32 hw is down or the boot inthe rom has gone.
Any idea to help?

thanks

Bad cable? There are a lot of bad USB cables and charging only micro usb cables around.

Also, you need to give more detail about what you're connecting, since an ESP32 alone cannot be connected to USB; to get a serial port with which to talk to the ESP32, you need another chip on the board (usually a CH340G or CP2102); many boards exist that integrate a usb serial adapter of some sort and ESP32 on one board... The USB communication is handled by that chip; if you're not getting a serial port, the fact that there's an ESP32 on the other side of the serial adapter, as opposed to something is largely irrelevant - the problem is in the usb serial adapter or drivers for it.