why my "This site can’t be reached, ip took too long to respond."
Hi all,
This my first linode, actually my first time employing servers for my django app.
although the server is running, and the ssh let me in using the terminal just like my local host, the "This site can’t be reached, ip took too long to respond." keeps showing up.
I've searched high and low but to not avail.
Thanks,
2 Replies
It's hard to say without more information about how exactly you're trying to connect, from where, and how you set up your app, but I'd like to try to offer some suggestions.
To me this sounds like it's possibly a firewall issue. If you used our Marketplace App, you should be able to reach your site using your Linode's rDNS value and the supplied credentials (which are all explained further in that guide). This will connect you over port 443 and allow you to get started. Once you configure your URL, you'll be able to connect there
If you used our app, UFW is enabled and configured and these are the only open ports:
To Action From
-- ------ ----
22/tcp ALLOW Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6)
Because Django uses 8000 as a standard port, you may be trying to reach that port and it's being blocked by the default firewall. If that's the case, these guides may be helpful:
Troubleshooting Firewalls
How to Configure a Firewall with UFW
Understanding the results of an nmap scan
Using the SS Command
If you're not using our Marketplace app or that information doesn't help, I'd recommend providing a more detailed explanation of your set up and how you're trying to connect to see if someone can provide more specific guidance.
Hi. I have the same problem but I did not activate any firewall. Actually in the guides it is recommended to first getting the compute instance active for an user first before configuring any FW.
So if Django is correctly installed through marketplace app deploy it should render its welcome page at http://ip_number:8000.
It doesn't.
Also connecting through SSH in the server there is no Django install present at /var/www/.
What I did was simply creating a Linode with Django from the marketplace. Can you specify whether anything else is needed or point to a detailed install guide?
Thanks