Forums

pythonanywhere IPs

I have a database hosted on DreamHost to which I'd like to restrict access. I only want to allow my pythonanywhere-hosted web service and spider a connection to the database.

What's the range of python anywhere hosts that I can use to filter access?

Unfortunately we have several different web servers and their IP addresses change... Can you find another way to restrict access?

Unfortunately, not really. It's exposed to any IP at the moment. Is there perhaps a common domain that these IPs will come from? Say, %.pythonanywhere.com or something similar? Or if the IP's themselves share a common octet, I can filter it down to %.%.23.154 for instance. ?

No, there isn't really any commonality between them unless you want to be open to the entire AWS US East zone. I don't see that as being significantly better than not restricting at all, though.