Check the ip address mentioned in core-site.xml file if its similar to the one mentioned above or not. Your file should look something like this:
<configuration>
  <property>
 <name>fs.default.name</name>
 <value>hdfs://192.168.1.3:9000</value>
</property>
Then use the following commands to restart hadoop daemons.
stop-all.sh
hadoop namenode -format
start-all.sh