A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
I can't ping my server IP,but can connect via digitalocean console.
Connecting via the console inside your DigitalOcean account is effectively accessing your droplet from within the network (LAN). Pinging / Connecting to your droplet is trying to access the droplet over the WAN (Internet)
Have you enabled / altered anything before this started to happen or have you never been able to connect to your droplet?
Firewall could be a reason you cannot access your droplet for example
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.