check if something is running on that port, in my case i was using 3000 as soon i killed the process my server started working
run below given commands 1.lsof -i :3000 // this will give you a process ID 2. kill -9 PID // kill the process and the issue will be solved