Forums

How can i block certain IP address

I believe some bots or some web crawler are trying to send very unusual traffic to my site. Every one minutes its sending aroung 100 request. Is there a way i can block those IP from pythonanywhere ?

When i checked those IP in google it says it belongs to United States and the ISP is SoftLayer Technologies Inc.

Hi there,

We don't have a feature for you to do that. You could try to add a robots.txt that forbids scraping, or block on your webapp level.

SoftLayer Technologies Inc seems like a managed hosting company- so if you block their IP anyone using their servers will be blocked.

@atish9937

Maybe take it up with SoftLayer Technologies?

Thanks Conard and Jgmdavies for response.

I will try to implement your suggestions.