Project Not Loading - Error 504 Gateway Timeout

My project was working fine, until I started working on adding firebase/firestore features. I am following a tutorial on YouTube. After adding some code and running commands in terminal, the project stopped loading and shows “Error 504 Gateway Timeout”.
Here are the logs:

and here is the link:

what’s the program that’s supposed to listen on port 1988? can you check if that program is having some problems?

Hi, thank you for the reply. How do I check what listens on port 1988? I tried a terminal command but got this:

that’s at least consistent with the connection being refused. because nothing’s around to answer. I think you’ll have to find out what the program in the logs is expecting to connect to on that port