Hi Thileepan,
Sounds like the Mattermost server is not starting correctly. Can you post your Mattermost server logs here? It would give me a better idea of what is going on. There should be a logs/mattermost.log in the directory you installed mattermost.