Hi@Bhavesh, 
You got connection refused. So, there may be lots of reason behind this. But you can troubleshoot step by step.
- 
Stop the service. 
- 
Check properties in configuration files like core-site.xml, hdfs-site.xml, hadoop-env.sh file. 
- 
Write your namenode IP in /etc/hosts file. 
- 
Format namenode. 
- 
Stop firewall. 
- 
Start your service again. 
Follow the above steps one by one. If it will not work, then share your configuration file.
Thank You