I want to install dotnet packages, which I have done before without problem on an older machine.
Now,
rpm --import https://packages.microsoft.com/keys/microsoft.asc
gives
curl: (7) Couldn't connect to server
error: https://packages.microsoft.com/keys/microsoft.asc: import read failed(2).
and
wget https://packages.microsoft.com/config/opensuse/15/prod.repo
gives
--2021-11-17 10:22:24-- https://packages.microsoft.com/config/opensuse/15/prod.repo
Resolving packages.microsoft.com (packages.microsoft.com)... 40.114.136.21
Connecting to packages.microsoft.com (packages.microsoft.com)|40.114.136.21|:443... failed: Network is unreachable.
Using the commands on the older machine produces the files without any problem.
Connection with internet is OK, and i do not see differences (yet) in settings between the problem-machine and the older machine.
How do I find the cause and remedy it?