所以我想在我的ubuntu 20.04 VPS上安装jenkins,但总是收到错误“网络无法访问”。我尝试使用 wget 安装它,如下所示:
wget https://get.jenkins.io/war-stable/2.332.3/jenkins.war
并且总是出现错误:
Resolving get.jenkins.io (get.jenkins.io)... 52.167.253.43
Connecting to get.jenkins.io (get.jenkins.io)|52.167.253.43|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://mirrors.tuna.tsinghua.edu.cn/jenkins/war-stable/2.332.3/jenkins.war [following]
--2022-10-18 01:47:10-- https://mirrors.tuna.tsinghua.edu.cn/jenkins/war-stable/2.332.3/jenkins.war
Resolving mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)... 101.6.15.130, 2402:f000:1:400::2
Connecting to mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|101.6.15.130|:443... failed: Connection timed out.
Connecting to mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|2402:f000:1:400::2|:443... failed: Network is unreachable.
我已经安装了 ca 证书并使用 java 11。
有谁知道如何解决这个问题?