【问题标题】:Unable to Access the Jenkins from Browser(Windows)无法从浏览器访问 Jenkins (Windows)
【发布时间】:2021-10-02 20:23:05
【问题描述】:

enter image description here我已经通过 Vagrant 镜像在 Virtual Box(在 Windows 10 机器上)上创建了 centos(Centos 7)服务器。但我无法通过 http://localhost:8080 从浏览器(Chrome、Edge、Mozilla)访问 Jenkins UI(我也尝试过 8081)我搜索了近 100 多个链接,但没有找到与此相关的任何解决方案但看到很多问题都在问同样的问题。

详情:

  1. Virtual Box 安装在 Windows 10 和 Virtual Box 之上,我将 Vagrant Centos Image 克隆到安装的 Jenkins。
  2. Java 11 安装在 Windows 10 和 Centos 服务器上。
  3. 禁用 Centos 机器以及 Windows 10 的防火墙

高度赞赏解决方案! enter image description here

【问题讨论】:

    标签: jenkins browser vagrant centos7


    【解决方案1】:

    我看不到你的 Vagrantfile,但你检查过你的虚拟机网络接口的设置吗?

    您使用的 URL http://localhost:8080 连接到您的实际主机。这应该可以在 CentOS 虚拟机中运行,并且如果您使用的是 NAT。否则,您必须将 localhost 替换为您的 VM 的 IP 地址。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-12-04
      • 2016-11-30
      • 1970-01-01
      • 2019-01-19
      • 2014-05-14
      • 1970-01-01
      相关资源
      最近更新 更多