This is because DigitalOcean has a firewall switched on by default. Its needed to open all ports which we are using or you can disable firewall. You can disable your firewall by using the following command:
ufw disable
and after that restart your node.