I was not able to find the directory of the old firebase project. I tried checking out powershell to terminate the port 5000. Powershell seems like not working, so I did not recheck if my localhost:5000 has been refreshed. Then I checked the firebase.json file of the new project, after "public", there is this "ignore" [...], I just deleted it because it looks like it should not be there is the codelab sample of friendly chat. Then i go to firebase directory of the new project and run firebase serve --only hosting. After refreshing localhost:5000 its now showing the new project. Wuhooo... I tried Ctrl+C to terminate the project but after refreshing localhost:5000 it is still showing the new project. I'm not sure if after terminating the project the localhost:5000 should be cleared or something. But anyway, at least the localhost is already showing the latest project. Not sure what went wrong or how it was resolved. Thanks @Doug Stevenson