adrianhajdin / project_mern_memories

This is a code repository for the corresponding video tutorial. Using React, Node.js, Express & MongoDB you'll learn how to build a Full Stack MERN Application - from start to finish. The App is called "Memories" and it is a simple social media app that allows users to post interesting events that happened in their lives.
https://youtube.com/playlist?list=PL6QREj8te1P7VSwhrMf3D3Xt4V6_SRkhu
4.96k stars 1.83k forks source link

get request is not working #124

Open chetna098 opened 2 years ago

chetna098 commented 2 years ago

GET http://localhost:5000/posts net::ERR_CONNECTION_REFUSED How to solve this ?

NgatiaJeffers commented 1 year ago

@chetna098 Is the server running on port 5000? If not you can start by checking:

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.