About this question
I Downloaded the war file from the Jenkins site and started on the custom port. "INFO: Jenkins is fully up and running" is shown after running several instructions. But when I tried it on a browser with "http://localhost:port" it was not connecting. It's throwing a message: "the webpage is not available"
My system contains java version 1.6 and the downloaded version of Jenkins is 1.5.