How to restart Jenkins in Windows
Use command line to stop and start
net stop jenkinsnet start jenkins
Simply just do one thing.To restart Jenkins manually, you can use either of the following commands on Windows platform.
- Clean the "AppData\Local\Temp" folder.
- In search of windows type %temp%. then clean the folder.
Then try restarting Jenkins.
- use java -jar jenkins.war --httpPort=8080 in cmd fo windows.
- otherwise change the Port number.
- java -jar jenkins.war --httpPort=8090
It worked for me!
1) Click "Start" button2) Find and right-click Command Prompt. Then choose Run as administrator.3) Execute the command "net stop jenkins" and "net start jenkins"
This will definitely works.