-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I do not have access to localhost when i run jenkins #656
Comments
The port is 8080 |
the port 8080 is already used si i change to 9090 |
Unless you modified Jenkins internally, then you need to map your 9090 to jenkin's 8080:
|
I've ran But I'm still having the same problem |
@LuanaFn what problem? What is the error message? If the port 8090, or 50000 are already taken on your machine, then you need to change them. |
I'm getting a ERR_CONNECTION_TIMED_OUT time out error. Port 50000 wasn't available so I removed the p 50000:50000 part and the process started fine on port 8090. I'm still not able to connect from the browser.. |
Every Localhost having some IP address, So If you use docker in windows by Docker ToolBox at the Don't Check with Localhost:8080 in your browser why because that is not the actual host.Your Localhost running in Vmware so you can check your IP address by using this Command (docker-machine ip default) For Example : |
Thanks to @vengatesanns your Docker Jenkins localhost ----> 192.168.99.100 |
@vengatesanns thanks man, it worked for me too! |
Thanks @vengatesannsIt works. Basic Knowledge !! |
@vengatesanns I had the same issue and got it solved. Thanks a lot :) |
Thanks man :) @vengatesanns |
Worked like charm, thanks @vengatesanns |
I run below command, Jenkins container is not getting up. $ sudo docker container run --name jenkins-blueocean --rm --detach --network jenkins --env DOCKER_HOST=tcp://docker:2376 --env DOCKER_CERT_PATH=/certs/client --env DOCKER_TLS_VERIFY=1 --volume jenkins-data:/var/jenkins_home --volume jenkins-docker-certs:/certs/client:ro --publish 8080:8080 --publish 50000:50000 jenkinsci/blueocean $ sudo docker ps Expected: jenkins-blueocean container should start. Reference : |
Got a workaround: $ sudo docker container run --name jenkins-blueocean For those who are having a permission issue like this: sudo chown 1000:1000 /path/to/your/folder (jenkins-data) |
Perfect! this works! Thankyou. |
Docker commands that you execute
docker pull jenkins
docker run --name testJenkins -p 9090:9090 -p 50000:50000 jenkins
Actual result
it works, jenkins is fully up and running.
But in my browser
http://localhost:9090/
http://127.17.0.1:9090/
nothing works
http://localhost:50000/ , this is the result :
Expected outcome
I do not understand, Jenkins should appear in my browser.
Output of docker version
Docker version 17.12.0-ce, build c97c6d6
Have a good day !
The text was updated successfully, but these errors were encountered: