I’m running the the AGEDB-INC/Cloud-Express Project on my system.
I installed the necessary dependencies using the following command in root folder
npm run setup
using node version 20.3.1
and then run the project in node version 14.16.0
using the following command
npm start
the project is running fine but there was initially an error: ERR_CONNECTION_REFUSED
it was due to front-end was requesting on port 4000 and the backend was running on port 3001, I resolved this issue, but now a new error appears: 404 not Found
I think it issue with routes but unable to resolve it
2
Answers
Connection refused error is an indication that the backend MongoDB server is not running.
If you already have a valid environment variables in your
.env
setup, (note: refer to the cloud-express/backend/readme file), then open a new terminal and run:Check if you actually have your
MongoDB
running. It would be good if you also verify whether you have set up the environment variables correctly.