Not able to run index.html file under Public folder

Your question is very fundamental and beyond the scope of support offered in this forum.

You need to be familiar with the basics of Hugo before asking for help here.

Have a look at the Quick Start Guide and the rest of the Hugo Docs

Also I already directed you to the Requesting Help topic above. I have yet to see you sharing your Hugo project.

This is getting nowhere.