Jenkins cli连接超时

时间:2016-07-28 09:52:55

标签: jenkins nmap jenkins-cli

我试图从另一台服务器访问Jenkins,而不是安装它的服务器。当我尝试运行时

java -jar jenkins-cli.jar -s http://remote:port/jenkins help

几秒钟后,我发现java.io.IOException: Failed to connect to connect to http://remote:port/jenkins/错误。

Ping远程工作,并运行nmap -p port remote给我

Starting Nmap 5.51 ( http://nmap.org ) at 2016-07-28 11:51 CEST
Nmap scan report for [remote]
Host is up (0.00047s latency).
PORT       STATE    SERVICE
[port]/tcp filtered m2mservices

Nmap done: 1 IP address (1 host up) scanned in 0.27 seconds

问题是否与filtered状态有关? 感谢。

1 个答案:

答案 0 :(得分:0)

即可。您需要检查防火墙设置。