Cannot connect to given IP

November 20, 2019 155 views
DigitalOcean React Node.js

I’ve followed the tutorial (https://www.youtube.com/watch?v=oykl1Ih9pMg&t=90s) and started my project (https://github.com/zavullon/MERN-hello/blob/master/backend/package.json) on digitalocean. I’m using nodemon for back and webpack for front to start the servers. Even though I can ping and use get method on the <given_ip:port> I can’t open it in my browser, it just says “site can’t be reached” I’m not getting any errors and the project runs localy without any problem. I’m using IP, not domain. Help me please.

1 Answer

Hello, @shecolda

Can you please check which ports are open on your droplet/server? You can do this using netstat via ssh from your server:

netstat -plunta

Let me know how it goes.

Regards,
Alex

Have another answer? Share your knowledge.