Either the IP-port is wrong or the person hosting did not port-forward (the alternative is to use a VPN like ZeroTier/Radmin VPN/Hamachi/etc.)