zoukankan      html  css  js  c++  java
  • 解决Jenkins的错误“The Server rejected the connection: None of the protocols were accepted”

    1. 配置节点,配置好节点后,在节点机上运行已下载clip_image001文件,双击执行,提示“The Server rejected the connection: None of the protocols were accepted”错误

    clip_image003

    发现是自己生成.jnlp的文件错误了,如下图,我访问Jenkins是使用的localhost.在生成.jnlp或者是jar文件时,文件路径也是localhost,导致我执行它生成好的jar包或者是launch文件,下载都会提示是从localhost:8080下载,这样是错误的,就会出现那个问题

    clip_image005

    解决方案:

    使用IP去访问Jenkins,我使用的是launch执行节点

    clip_image007

    在节点分机上执行,执行成功

    clip_image008

  • 相关阅读:
    Sherlock and Squares
    [leetcode] Super Ugly Number
    [leetcode] Ugly Number II
    [leetcode] Ugly Number
    [leetcode] Burst Balloons
    菜根谭#268
    菜根谭#267
    菜根谭#266
    菜根谭#265
    菜根谭#264
  • 原文地址:https://www.cnblogs.com/chongyou/p/7593070.html
Copyright © 2011-2022 走看看