Score:0

Not able to download packages-microsoft-prod.deb in ubuntu server

na flag

I am attempting to install using the following command:

wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb

However, the download process is getting stuck, and I am unable to complete it. The logs show that the connection to packages.microsoft.com at IP address 40.114.136.21 on port 443 (HTTPS) is timing out.

Here is a snippet of the log:

--2023-07-27 16:51:29-- https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb Resolving packages.microsoft.com (packages.microsoft.com)... 40.114.136.21 Connecting to packages.microsoft.com (packages.microsoft.com)|40.114.136.21|:443...

After waiting for some time, I receive the following error:

Connecting to packages.microsoft.com (packages.microsoft.com)|40.114.136.21|:443... failed: Connection timed out. Retrying. --2023-07-27 16:53:41-- (try: 2) https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb Connecting to packages.microsoft.com (packages.microsoft.com)|40.114.136.21|:443...

I have verified that both incoming and outgoing traffic for port 443 is allowed, and my internet connection is functioning correctly.

I would appreciate any assistance in resolving this issue so I can successfully download the packages-microsoft-prod.deb file from the Microsoft package repository. Thank you for your help.

ru flag
"Connection timed out" means that *something* is blocking the traffic, either your firewall or the router your network is connected to, or your ISP. I can confirm that IP and URL works here, so it might be specific to your network/ISP
Muhammad Bin Khalid avatar
na flag
@ThomasWard-OnStrike how can i find which one is stopping it?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.