小编ezr*_*tre的帖子

如何在 Ubuntu 12.04 服务器上远程访问 Jenkins?

我已经在 Ubuntu 12.04 服务器上安装了 Jenkins 并打开了端口 8080,但仍然无法远程访问 Jenkins。以下是我采取的程序。

# Install Jenkins, enable UFW and open port 8080
sudo apt-get install jenkins
sudo ufw enable
sudo ufw allow 8080
sudo ufw reload

# Check the status
sudo ufw status
8080    ALLOW    Anywhere
8080    ALLOW    Anywhere (v6)

# Locally
curl -I localhost:8080
HTTP/1.1 200 OK
Server: Winstone Servlet Engine v0.9.10
...

# On an external machine
curl -I [ip]:8080
couldn't connect to host
Run Code Online (Sandbox Code Playgroud)

jenkins

5
推荐指数
2
解决办法
2万
查看次数

标签 统计

jenkins ×1