If your laptop is having trouble connecting to an external hard drive, it could be caused by the following issues:
Check if the external hard drive is properly connected to your laptop
Check if the external hard drive is powered on
Check if the cable connecting the external hard drive to the laptop is in working condition
Reboot your laptop
Check your laptop’s disk management settings