Try making ssh on your local system using IP, in this case:
$ ssh 127.0.0.1
Once you can successfully execute ssh. Run the command below to see a list of open ports
~ $ lsof -i
find the listening jack named localhost: <PORTNAME> (LISTEN)
copy this & lt; PORTNAME> and replace the existing port number value in the fs.default.name property tag in your core-site.xml file in the confoop conf folder.
save the core-site.xml file, this should fix the problem.
Abhimanyu
source share