Two more simple but important items to check.
Make sure you have a firewall rule to the destination server and port enabled if required.
Make sure you are using the correct protocol (https vs http)