Hello Team, I am trying to access jenkins using ip address but it is not working . I am using macOS. Following jenkins url working fine but while using ip adress of my machine it is not working -- 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/0a2be992-d850-41d8-a0eb-6959888f0cb0n%40googlegroups.com. |
Hello Vaibhav, what does "remotely" mean? Inside your network or outside from the internet? Inside of your network this should work out of the box. Outside from the internet you need to open port 8080 to access it. Please refer to the documentation of your router on how to open a port. Keep in mind this might be a security issue. And in addition: If you have 24h reconnect in order to get a new ip address you can get and run a so called DynDNS address. There are several providers out there. Some (or most?) routers support configuring a DynDNS address as well - so you don't have to run a service on your computer. Am Mo, 19. Okt, 2020 um 10:22 NACHMITTAGS schrieb Vaibhav Khachane <[hidden email]>:
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/JS8IIQ.Z02SEYIZGNFU2%40gmail.com. |
From the command line do;
$ netstat -an | grep 8080 That will show you what ip address as listening on the port 8080, e.g. your jenkins instance. If it's only listening to local addresses then it will never work remotely. Don't have access to a jenkins at the moment, but within Jenkins configuration you should be able to select what addresses jenkins should bind to and listen to. It might require a manual change in the configuration then restart. John On Tue, 20 Oct 2020 at 15:41, Danny Trunk <[hidden email]> wrote: > > Hello Vaibhav, > > what does "remotely" mean? Inside your network or outside from the internet? > Inside of your network this should work out of the box. > Outside from the internet you need to open port 8080 to access it. > Please refer to the documentation of your router on how to open a port. > Keep in mind this might be a security issue. > > And in addition: If you have 24h reconnect in order to get a new ip address you can get and run a so called DynDNS address. > There are several providers out there. > Some (or most?) routers support configuring a DynDNS address as well - so you don't have to run a service on your computer. > > Am Mo, 19. Okt, 2020 um 10:22 NACHMITTAGS schrieb Vaibhav Khachane <[hidden email]>: > > Hello Team, > > I am trying to access jenkins using ip address but it is not working . I am using macOS. > > Following jenkins url working fine > http://localhost:8080/ > http://127.0.0.1:8080/ > http://0.0.0.0:8080/ > > but while using ip adress of my machine it is not working > http://(ip address of my. machine ):8080/ > > > -- > 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/0a2be992-d850-41d8-a0eb-6959888f0cb0n%40googlegroups.com. > > -- > 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/JS8IIQ.Z02SEYIZGNFU2%40gmail.com. -- 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/CAH9u10kMndHMSk6E%3DYKWyUdY2ibDYUSVgdZrYGY13EyTGOeBNQ%40mail.gmail.com. |
Do you use something like this to run Jenkins? El martes, 20 de octubre de 2020 a las 19:35:17 UTC+2, [hidden email] escribió: From the command line do; 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/51f117b4-be03-4c8b-b469-d513b411316fn%40googlegroups.com. |
In reply to this post by John Patrick
So I've only access to a jenkins installed in a centos vagrant vm at
the moment and the value I need to change to control what listen address is being is in this file /etc/sysconfig/jenkins And the config is; JENKINS_LISTEN_ADDRESS="" Which causes jenkins to listen to every ip address the vm has access to. So using netstat I see $ netstat -an | grep 8080 tcp6 0 0 :::8080 :::* LISTEN $ So depending on how you have installed and configured your jenkins you'll need to find similar configuration and change it to either your public/remote ip address or "" so it's listens to everything. Then next issue might be what Danny highlighted as you have not confirmed by what you mean by remote? I'm using the term for any machine that is not localhost. If your wanting it remote over the internet or company network, then you might need to change your router... you might need to setup dynamic ip routing or port forwarding so it is expired to your isp wan ip address. John On Tue, 20 Oct 2020 at 18:34, John Patrick <[hidden email]> wrote: > > From the command line do; > $ netstat -an | grep 8080 > > That will show you what ip address as listening on the port 8080, e.g. > your jenkins instance. If it's only listening to local addresses then > it will never work remotely. > > Don't have access to a jenkins at the moment, but within Jenkins > configuration you should be able to select what addresses jenkins > should bind to and listen to. It might require a manual change in the > configuration then restart. > > John > > > On Tue, 20 Oct 2020 at 15:41, Danny Trunk <[hidden email]> wrote: > > > > Hello Vaibhav, > > > > what does "remotely" mean? Inside your network or outside from the internet? > > Inside of your network this should work out of the box. > > Outside from the internet you need to open port 8080 to access it. > > Please refer to the documentation of your router on how to open a port. > > Keep in mind this might be a security issue. > > > > And in addition: If you have 24h reconnect in order to get a new ip address you can get and run a so called DynDNS address. > > There are several providers out there. > > Some (or most?) routers support configuring a DynDNS address as well - so you don't have to run a service on your computer. > > > > Am Mo, 19. Okt, 2020 um 10:22 NACHMITTAGS schrieb Vaibhav Khachane <[hidden email]>: > > > > Hello Team, > > > > I am trying to access jenkins using ip address but it is not working . I am using macOS. > > > > Following jenkins url working fine > > http://localhost:8080/ > > http://127.0.0.1:8080/ > > http://0.0.0.0:8080/ > > > > but while using ip adress of my machine it is not working > > http://(ip address of my. machine ):8080/ > > > > > > -- > > 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/0a2be992-d850-41d8-a0eb-6959888f0cb0n%40googlegroups.com. > > > > -- > > 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/JS8IIQ.Z02SEYIZGNFU2%40gmail.com. -- 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/CAH9u10%3DpezGKnAa%3D9N_9X2N2gixoeyRXodATZuCpbq8_Ri_GRA%40mail.gmail.com. |
In reply to this post by kuisathaverat
As well as the above, if you are wanting to access Jenkins on your Mac outside of the machine itself you'll also need to ensure the Mac Firewall is open to allow port 8080 traffic. Richard. On Wed, 21 Oct 2020 at 08:37, Ivan Fernandez Calvo <[hidden email]> wrote:
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/CAAy0hwfR86-rRCa86M3o34%2B6UN38A2AK3rL16WGkD9SdEF4A6w%40mail.gmail.com. |
In reply to this post by Vaibhav Khachane-2
> On 20. Oct 2020, at 07:22, Vaibhav Khachane <[hidden email]> wrote: > > I am trying to access jenkins using ip address but it is not working . I am using macOS. > > Following jenkins url working fine > http://localhost:8080/ > http://127.0.0.1:8080/ > http://0.0.0.0:8080/ > > but while using ip adress of my machine it is not working > http://(ip address of my. machine ):8080/ Jenkins installed via Homebrew only listens on the loopback interface, so this is expected. Why they do this, I have no idea. Perhaps our former (2016 and earlier) lack of having a secure configuration out of the box. https://github.com/Homebrew/homebrew-core/blob/0a483dc47a7f30266b626f1bfcf465c733c880b8/Formula/jenkins.rb#L55 https://github.com/Homebrew/homebrew-core/blob/0a483dc47a7f30266b626f1bfcf465c733c880b8/Formula/jenkins-lts.rb#L46 -- 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/4A5E9ECF-D696-4348-8719-BA5A11D9AB0A%40beckweb.net. |
In reply to this post by Vaibhav Khachane-2
> On 20. Oct 2020, at 07:22, Vaibhav Khachane <[hidden email]> wrote: > > I am trying to access jenkins using ip address but it is not working . I am using macOS. > > Following jenkins url working fine > http://localhost:8080/ > http://127.0.0.1:8080/ > http://0.0.0.0:8080/ > > but while using ip adress of my machine it is not working > http://(ip address of my. machine ):8080/ Jenkins installed via Homebrew only listens on the loopback interface, so this is expected. Why they do this, I have no idea. Perhaps our former (2016 and earlier) lack of having a secure configuration out of the box. https://github.com/Homebrew/homebrew-core/blob/0a483dc47a7f30266b626f1bfcf465c733c880b8/Formula/jenkins.rb#L55 https://github.com/Homebrew/homebrew-core/blob/0a483dc47a7f30266b626f1bfcf465c733c880b8/Formula/jenkins-lts.rb#L46 -- 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/306846EF-A0BB-49E1-8C6D-13EEB2EB3BFD%40beckweb.net. |
tl;dr You need to adjust httpListenAddress See here: https://stackoverflow.com/questions/64338546/making-jenkins-localhost-publicly-available-within-the-same-network/64339357#64339357 Am Mi., 21. Okt. 2020 um 13:20 Uhr schrieb Daniel Beck <[hidden email]>:
Von meinem Atari ST520 gesendet 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/CAOtmfbnUk0Q03Dc57dZ2c%3DDgnaLgng0OymeVdBVSxApoPaNAEw%40mail.gmail.com. |
Free forum by Nabble | Edit this page |