I followed the docs of digitalocean to host my django app. After spending hours on the same, i was able to host. But the next day when I checked the ip address, it is not available. Also, I cannot ssh remotely. The only way to login is the web console from the digital ocean site.
When I ssh remotely i get this error :
ssh: connect to host 139.59.24.133 port 22: Connection timed out
I reboot the droplet and it did not help.
This is my nginx sites-available directory:
server {
listen 80;
server_name 139.59.24.133;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/ {
root /home/dl/logistics;
}
location / {
include proxy_params;
proxy_pass http://unix:/run/gunicorn.sock;
}
}
I referred questions in digital ocean and their support is too low. Any help will be appreciated.