Cannot open TCP port for JNLP agents

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot open TCP port for JNLP agents

marafado88
Hello,

I am trying to connect one windows agent with a jenkins server, where both are in the same network, and that windows is at reach of jenkins server, but still I am getting this error:

Screenshot_3.jpg


This windows can ping to jenkins.XXX.local without problem, but seems like port 8090 is closed from outside:


Screenshot_5.jpg


And from jenkins server perspective I have add that 8090 port to firewall but still nothing, so I think that I can conclud that there is no service running in that port:


Screenshot_6.jpg


I have already reboot jenkins but no effect has been done.

Anyone knows if I need to config anything else then port number in jenkins server?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8c7ad78a-88c7-4ab6-837d-87a6aeabd9f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot open TCP port for JNLP agents

marafado88

Port 8090 seems to be listening under tcp6, as well as 8080 who is here jenkins webservice is running, and I have access, as well as SSH and VNC:

Screenshot_7.jpg



quinta-feira, 13 de Setembro de 2018 às 16:11:40 UTC+1, marafado88 escreveu:
Hello,

I am trying to connect one windows agent with a jenkins server, where both are in the same network, and that windows is at reach of jenkins server, but still I am getting this error:

Screenshot_3.jpg


This windows can ping to jenkins.XXX.local without problem, but seems like port 8090 is closed from outside:


Screenshot_5.jpg


And from jenkins server perspective I have add that 8090 port to firewall but still nothing, so I think that I can conclud that there is no service running in that port:


Screenshot_6.jpg


I have already reboot jenkins but no effect has been done.

Anyone knows if I need to config anything else then port number in jenkins server?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot open TCP port for JNLP agents

James Fairweather
We are running a Jenkins 2.121.2 instance on one Windows Server 2012 and have multiple build agents running on other VMs (in the same subnet), launching via Java Web Start.

Have you looked in the Jenkins master server log (Jenkins -> Manage Jenkins -> System Log in your web browswer)?  Is there any indication that the master received the connection request from the build agent?

On Thu, Sep 13, 2018 at 8:55 AM marafado88 <[hidden email]> wrote:

Port 8090 seems to be listening under tcp6, as well as 8080 who is here jenkins webservice is running, and I have access, as well as SSH and VNC:

Screenshot_7.jpg



quinta-feira, 13 de Setembro de 2018 às 16:11:40 UTC+1, marafado88 escreveu:
Hello,

I am trying to connect one windows agent with a jenkins server, where both are in the same network, and that windows is at reach of jenkins server, but still I am getting this error:

Screenshot_3.jpg


This windows can ping to jenkins.XXX.local without problem, but seems like port 8090 is closed from outside:


Screenshot_5.jpg


And from jenkins server perspective I have add that 8090 port to firewall but still nothing, so I think that I can conclud that there is no service running in that port:


Screenshot_6.jpg


I have already reboot jenkins but no effect has been done.

Anyone knows if I need to config anything else then port number in jenkins server?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CALg80NW%3D4Fa2Fa_Pzku3TsmUnNixSB6c-AyZJw1NB_Kuudzrhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot open TCP port for JNLP agents

marafado88
I am running the same Jenkins version but in CentOS.

In Jenkins System Log I  have lots of:

Screenshot_5.jpg

But there is no register of any attempt of connection from the remote agent in that windows.

quinta-feira, 13 de Setembro de 2018 às 21:21:55 UTC+1, James Fairweather escreveu:
We are running a Jenkins 2.121.2 instance on one Windows Server 2012 and have multiple build agents running on other VMs (in the same subnet), launching via Java Web Start.

Have you looked in the Jenkins master server log (Jenkins -> Manage Jenkins -> System Log in your web browswer)?  Is there any indication that the master received the connection request from the build agent?

On Thu, Sep 13, 2018 at 8:55 AM marafado88 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="yGQ6HecAAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">fabioes...@...> wrote:

Port 8090 seems to be listening under tcp6, as well as 8080 who is here jenkins webservice is running, and I have access, as well as SSH and VNC:

Screenshot_7.jpg



quinta-feira, 13 de Setembro de 2018 às 16:11:40 UTC+1, marafado88 escreveu:
Hello,

I am trying to connect one windows agent with a jenkins server, where both are in the same network, and that windows is at reach of jenkins server, but still I am getting this error:

Screenshot_3.jpg


This windows can ping to jenkins.XXX.local without problem, but seems like port 8090 is closed from outside:


Screenshot_5.jpg


And from jenkins server perspective I have add that 8090 port to firewall but still nothing, so I think that I can conclud that there is no service running in that port:


Screenshot_6.jpg


I have already reboot jenkins but no effect has been done.

Anyone knows if I need to config anything else then port number in jenkins server?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="yGQ6HecAAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/028e8b35-e1c0-45e2-b269-fe1f4592f6b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot open TCP port for JNLP agents

marafado88
In reply to this post by James Fairweather
I am running the same version of Jenkins but in CentOS.

There is no registe in Jenkins logs of any received connection from the remote agent.

Did you had to add that port for JNLP agents in windows server firewall in you case?

quinta-feira, 13 de Setembro de 2018 às 21:21:55 UTC+1, James Fairweather escreveu:
We are running a Jenkins 2.121.2 instance on one Windows Server 2012 and have multiple build agents running on other VMs (in the same subnet), launching via Java Web Start.

Have you looked in the Jenkins master server log (Jenkins -> Manage Jenkins -> System Log in your web browswer)?  Is there any indication that the master received the connection request from the build agent?

On Thu, Sep 13, 2018 at 8:55 AM marafado88 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="yGQ6HecAAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">fabioes...@...> wrote:

Port 8090 seems to be listening under tcp6, as well as 8080 who is here jenkins webservice is running, and I have access, as well as SSH and VNC:

Screenshot_7.jpg



quinta-feira, 13 de Setembro de 2018 às 16:11:40 UTC+1, marafado88 escreveu:
Hello,

I am trying to connect one windows agent with a jenkins server, where both are in the same network, and that windows is at reach of jenkins server, but still I am getting this error:

Screenshot_3.jpg


This windows can ping to jenkins.XXX.local without problem, but seems like port 8090 is closed from outside:


Screenshot_5.jpg


And from jenkins server perspective I have add that 8090 port to firewall but still nothing, so I think that I can conclud that there is no service running in that port:


Screenshot_6.jpg


I have already reboot jenkins but no effect has been done.

Anyone knows if I need to config anything else then port number in jenkins server?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="yGQ6HecAAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/127f27a4-fa5e-4ca7-9c2e-952dffe42b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot open TCP port for JNLP agents

marafado88
In reply to this post by marafado88
Regarding this issue I was not understanding the tcp6 who means IPv6 for SSH, jenkins web config and the JNLP Master, but after reading about dual mode IPv6 sockets, I notice that those handle IPv4 connections using IPv4-Mapped IPv6 Addresses. And there are no difference in netstat regarding single mode and dual mode of tcp6, in both cases the representation is the same.

In this network I am using only IPv4, there are no IPv6 given to any machine.

quinta-feira, 13 de Setembro de 2018 às 16:55:35 UTC+1, marafado88 escreveu:

Port 8090 seems to be listening under tcp6, as well as 8080 who is here jenkins webservice is running, and I have access, as well as SSH and VNC:

Screenshot_7.jpg



quinta-feira, 13 de Setembro de 2018 às 16:11:40 UTC+1, marafado88 escreveu:
Hello,

I am trying to connect one windows agent with a jenkins server, where both are in the same network, and that windows is at reach of jenkins server, but still I am getting this error:

Screenshot_3.jpg


This windows can ping to jenkins.XXX.local without problem, but seems like port 8090 is closed from outside:


Screenshot_5.jpg


And from jenkins server perspective I have add that 8090 port to firewall but still nothing, so I think that I can conclud that there is no service running in that port:


Screenshot_6.jpg


I have already reboot jenkins but no effect has been done.

Anyone knows if I need to config anything else then port number in jenkins server?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6da5e32c-104d-44c8-94e5-50ec891132a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot open TCP port for JNLP agents

marafado88
In reply to this post by marafado88
Changing port number for JNLP agents in jenkins webservice, also changes changes the port in jenkins OS firewall, but still no success. Sniffing that new port shows a closed port. I have used 58090 port.

sexta-feira, 14 de Setembro de 2018 às 10:26:02 UTC+1, marafado88 escreveu:
I am running the same version of Jenkins but in CentOS.

There is no registe in Jenkins logs of any received connection from the remote agent.

Did you had to add that port for JNLP agents in windows server firewall in you case?

quinta-feira, 13 de Setembro de 2018 às 21:21:55 UTC+1, James Fairweather escreveu:
We are running a Jenkins 2.121.2 instance on one Windows Server 2012 and have multiple build agents running on other VMs (in the same subnet), launching via Java Web Start.

Have you looked in the Jenkins master server log (Jenkins -> Manage Jenkins -> System Log in your web browswer)?  Is there any indication that the master received the connection request from the build agent?

On Thu, Sep 13, 2018 at 8:55 AM marafado88 <[hidden email]> wrote:

Port 8090 seems to be listening under tcp6, as well as 8080 who is here jenkins webservice is running, and I have access, as well as SSH and VNC:

Screenshot_7.jpg



quinta-feira, 13 de Setembro de 2018 às 16:11:40 UTC+1, marafado88 escreveu:
Hello,

I am trying to connect one windows agent with a jenkins server, where both are in the same network, and that windows is at reach of jenkins server, but still I am getting this error:

Screenshot_3.jpg


This windows can ping to jenkins.XXX.local without problem, but seems like port 8090 is closed from outside:


Screenshot_5.jpg


And from jenkins server perspective I have add that 8090 port to firewall but still nothing, so I think that I can conclud that there is no service running in that port:


Screenshot_6.jpg


I have already reboot jenkins but no effect has been done.

Anyone knows if I need to config anything else then port number in jenkins server?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1cfd94aa-14a8-4bdd-9cd2-384dadf4e34c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot open TCP port for JNLP agents

marafado88
I have updated jenkins to 2.138.1 and seems like they have changed the behaviour of jenkins agent to be deployed, now I have a more conclusive error message, but without resolving the problem:

Screenshot_6.jpg



sexta-feira, 14 de Setembro de 2018 às 13:09:24 UTC+1, marafado88 escreveu:
Changing port number for JNLP agents in jenkins webservice, also changes changes the port in jenkins OS firewall, but still no success. Sniffing that new port shows a closed port. I have used 58090 port.

sexta-feira, 14 de Setembro de 2018 às 10:26:02 UTC+1, marafado88 escreveu:
I am running the same version of Jenkins but in CentOS.

There is no registe in Jenkins logs of any received connection from the remote agent.

Did you had to add that port for JNLP agents in windows server firewall in you case?

quinta-feira, 13 de Setembro de 2018 às 21:21:55 UTC+1, James Fairweather escreveu:
We are running a Jenkins 2.121.2 instance on one Windows Server 2012 and have multiple build agents running on other VMs (in the same subnet), launching via Java Web Start.

Have you looked in the Jenkins master server log (Jenkins -> Manage Jenkins -> System Log in your web browswer)?  Is there any indication that the master received the connection request from the build agent?

On Thu, Sep 13, 2018 at 8:55 AM marafado88 <[hidden email]> wrote:

Port 8090 seems to be listening under tcp6, as well as 8080 who is here jenkins webservice is running, and I have access, as well as SSH and VNC:

Screenshot_7.jpg



quinta-feira, 13 de Setembro de 2018 às 16:11:40 UTC+1, marafado88 escreveu:
Hello,

I am trying to connect one windows agent with a jenkins server, where both are in the same network, and that windows is at reach of jenkins server, but still I am getting this error:

Screenshot_3.jpg


This windows can ping to jenkins.XXX.local without problem, but seems like port 8090 is closed from outside:


Screenshot_5.jpg


And from jenkins server perspective I have add that 8090 port to firewall but still nothing, so I think that I can conclud that there is no service running in that port:


Screenshot_6.jpg


I have already reboot jenkins but no effect has been done.

Anyone knows if I need to config anything else then port number in jenkins server?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/131d233d-30e5-4424-a73f-206075098632%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d0faf3cd-ff8e-411b-8816-073b9a6a6771%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot open TCP port for JNLP agents

marafado88
In reply to this post by marafado88
After search about CentOS firewall, I have discovered that there is a firewall-cmd, and through that I was able to add port 8090 and now its communicating.

Since I dont have a lot of knowledge about it I will leave here how to accomplish that:

https://stackoverflow.com/questions/24729024/open-firewall-port-on-centos-7

quinta-feira, 13 de Setembro de 2018 às 16:11:40 UTC+1, marafado88 escreveu:
Hello,

I am trying to connect one windows agent with a jenkins server, where both are in the same network, and that windows is at reach of jenkins server, but still I am getting this error:

Screenshot_3.jpg


This windows can ping to jenkins.XXX.local without problem, but seems like port 8090 is closed from outside:


Screenshot_5.jpg


And from jenkins server perspective I have add that 8090 port to firewall but still nothing, so I think that I can conclud that there is no service running in that port:


Screenshot_6.jpg


I have already reboot jenkins but no effect has been done.

Anyone knows if I need to config anything else then port number in jenkins server?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b5075767-ca6e-45e2-bd5f-677105737d17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.