What I did was to add the IDE to my firewall outbound rules having it set to allow.
Open windows firewall -> advanced settings -> outbound connection -> new rule -> select program -> add program path -> allow the connection (images). After that, you should be good to go, retry the download from the IDE itself if it works. If not, try adding it to the inbound connection as well.