I am in the process of deploying my MERN app to a Digital Ocean droplet(Ubuntu 20.04 server).
I have cloned my GitHub repo, installed the dependencies and pm2.
I start the server using the command pm2 start server/index.js
.
Then when I visit the URL
http://134.122.112.22:5000
, I get the following error:
Why am I not able to access my site?
*Note that I have not yet bought a domain. Also I have not yet installed NGINX.
Am I missing something?
EDIT-1
I added a HTTP inbound rule in the firewall. Yet, I am receiving the same error.