How can I shut down the local firebase emulators?

user1447414 picture user1447414 · Jul 1, 2020 · Viewed 8.1k times · Source

Currently I initialise the firebase emulators with:

$ firebase emulators:start

After some time working on it I want to stop it. How can I then stop the emulators?

Answer

xmkevinchen picture xmkevinchen · Aug 26, 2020
  1. Check which process is occupying the port sudo lsof -i tcp:<port>
  2. Kill the process kill -9 <process id>