Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

success response
curl: (7) Failed to connect to 128.199.27.21 port 9898: Connection refused
I just created an Ubuntu droplet, I am able to ssh to this droplet without any problem. Deployed my API, API calls are success if I do curl with localhost:port.
However when I try to call the API from my personal laptop it fails. I am unable to ping droplet’s IP from my personal laptop. I searched various websites for possible answers, found few solutions stating enabling/disabling and allowing particular IP using “ufw” but that solution is not working. I even tried modifiying Firewall rules through Digital Ocean Control Panel to allow inbound traffic for tcp/udp/ssh/http/https/icmp from all IPv4 and IPv6 but it isn’t working either.
OUTPUT:
lsof -i :9898
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
R 231 root 15u IPv4 69259 0t0 TCP localhost:9898 (LISTEN)
ufw status
Status: active
To Action From
-- ------ ----
OpenSSH ALLOW Anywhere
22/tcp ALLOW Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
OpenSSH (v6) ALLOW Anywhere (v6)
22/tcp (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6)
Even disabled ufw but it is still not working
Deleted the Firewall rules from DigitalOcean Control Panel still no response.
dolphinnn
Vaishnavi Vundyala
016512ea60864da0867e5280f293de
Peter Monadjemi
Prince7hakur
devjk1
fc9acbfbc3124cbf8df28a1c5c5cdb
ab871885551143798f41908c709271
gouskova
Saivion Services
Marin
182d09356ab94d3893ddfaca4f0270