When I had installed Jenkins on Amazon Linux AMI following steps mentioned in <http://bhargavamin.com/how-to-do/install-jenkins-on-amazon-linux-aws/>

After installation I was able to open Jenkins through browser but when I selected option "**Install Plugins**" it showed error as "Unable to connect to Jenkins Server."

So then how to troubleshoot this issue??