Troubleshoot port error - TheEvergreenStateCollege/upper-division-cs-23-24 GitHub Wiki
If you ended up exiting out of the port without stopping the port, either by frantically pressing Ctrl-Z
like me or for some other reason, follow these steps from Paul Swisher mentioned in the discord
" If your node server.js process is a zombie because AWS disconnected you, you can grep for the process ID and kill it.
ps -a | grep node
you'll get a number, like 10026
then you kill it with
sudo kill -KILL <pid>
and then try again
node server.js
in your API server directory. To let you maintain visibility of your long-running node server.js process, consider using tmux are listed above. "