project_mern_memories
project_mern_memories copied to clipboard
get request is not working
GET http://localhost:5000/posts net::ERR_CONNECTION_REFUSED How to solve this ?
@chetna098 Is the server running on port 5000? If not you can start by checking:
- if the DB is connected
- You can add an IP Address on the MongoDB atlas dashboard
Atlas only allows client connections to a cluster from entries in the project’s IP Access List. Adding an IP address will help to connect to your federated database instance and access your data.
This can be the starting point for debugging. Hope it has some clarity to figure out the ERROR.