Hi there rajattomar1319,
I'm not really sure whether you can buy the port itself. It seems that the enclosure is broken. Is the drive under warranty? In case it is, you can contact the manufacturer.
Apart from that, some users in similar situations do one of these:
- attach the HDD internally through SATA.
- take the drive out of the enclosure and use it in a third party one.
Just keep in mind that these two will void the warranty(if under any). Also, these may not work in case the drive inside has some proprietary connectors.
Cheers,
D_Know_WD