It sounds like with the endpoint you are trying to reach refused to allow your side to connect, or something in the path (network firewall) is blocking it.

Have you tried accessing the same URL...