Problem Description
While using a VPS with Ubuntu 18.04 you attempt to run apt-get-upgrade to update the system packages, but it fails with an error like: Could not connect to archive.canonical.com:80, connection timed out
Problem Resolution
Since archive.ubuntu.com is also in the sources list and works fine, you may either remove archive.canonical.com from the file /etc/apt/sources.list or comment it out by adding a # at the start of its line.
If you're not sure how apt uses the sources.list, this handy article provides more information.