Error after Hadoop cluster installation

Hi, I followed demo exactly and all my services are installed but the services are not starting and error i see is

Connection failed: [Errno 111] Connection refused to hadoop-ambari-server:50092

Can some one help me with any troubleshooting I could do?