Proxy error: Could not proxy request /api/v1/transactions from localhost:3000 to http://localhost:5000.
Closed this issue · 4 comments
Aman7400 commented
Proxy error: Could not proxy request /api/v1/transactions from localhost:3000 to http://localhost:5000.
zahnix commented
these steps solved the issue for me. give it a try
- install the dependencies in both the main project folder and the client folder
- make sure your mongoDB is running,
- add your localhost Db uri to the config.env file which is most likely mongodb://localhost:27017/nameofapp
harshbhandariv commented
stackoverflow
This should solve your issue.
trilionit commented
stackoverflow
This should solve your issue.
Had a similar issue in the past and this solved it for me.
frolicSandy commented
I was stuck at the same error for a while and none of these solutions seemed to work for me. The error message I was getting is as follows:
Error: connection <monitor> to 15.206.200.5:27017 closed
[nodemon] app crashed - waiting for file changes before starting...
Proxy error: Could not proxy request /api/v1/transactions/ from localhost:3000 to http://localhost:5000/.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).
Solution:
- Add the following IP address to the IP Access list in MongoDB Atlas.
0.0.0.0/0
- Follow the steps in the previous comment's stackoverflow link to solve Proxy error
Adding this comment just in case someone faces the issue similar to mine