Can't connect to the server, why?

Good day, try to understand Beck. Took a free vps on Amazon, installed ubuntu.
Wrote on the nod just the server and launched. Try to go with your desktop computer ip is what is available.
Sorry if I put it somewhere wrong.
April 16th 20 at 10:45
1 answer
April 16th 20 at 10:47
1) check which port is running the service - in my example, 3000
2) try to access the server directly from the console ubuntu
curl localhost:3000
3) if number 2 works, try the same with your computer at.
If 2 worked and 3 no - go to SecurityGroup for your EC2 open port 3000 to your home address, or all.

Find more questions by tags BackendUbuntuNode.js