While installing the Jenkins on my machine I encountered this error
Steps to Reproduce:-
- Download the msi from the following url:-https://wiki.jenkins.io/display/JENKINS/Meet+Jenkins#MeetJenkins-TestDrive
- Install the same successfully.
- Check for the Jenkins service, by running services.msc
- Down load the jenkins.war file form the url:- https://jenkins.io/doc/pipeline/tour/getting-started/
- Now go to command prompt & execute the following command:-
java -jar jenkins.war --httpPort=8080
Expected Result:-
The command should be executed successfully & user should be able to open the url
http://localhost:8080/ successfully.
Actual Result:-
Error message is encountered as
SEVERE: Failed to launch NIO hub java.io.IOException: Unable to establish loopback connection
P.S. - I also tried the following
Killed all the processes runniing on 8080 & then reinstalled jenkins
Restarted the services of jenkins
All the above options did not worked.