Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29245

ec2 instance can't connect to websites

$
0
0

I created an ec2 instance for web scraping purposes. However, I can't scrape any sites with selenium because I get below error :

"selenium.common.exceptions.TimeoutException: Message: connection refused" error.

I think this is to do with the security group settings blocking off websites. So I created a new security group according to this. However, upon doing this, I am not able to ssh into the EC2 instance anymore.

What configuration do I need for my EC2 instance to be able to scrape websites?


Viewing all articles
Browse latest Browse all 29245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>