|Most computers have multiple USB controllers that usually serve two ports per controller. |
First check in Device manager to verify all USB controllers are working correctly. If they are not then move the devices to a working port to see if they then function. If so, go into Device manager and remove all the USB controllers and reboot. If you can't, shutdown correctly then try the controllers one by one. Hard to keep track of what is what but not impossible.
You could have damaged one or more controllers by connecting a damaged device.
Also, follow the link provided above.