unable to connect to chromedriver 127.0.0.1:9515. Amazon Linux AMI
Firstly, locate your chromedriver (possibly /usr/bin) and check your dependencies:
ldd /usr/bin/chromedriver
It is likely you'll be missing at least libgconf-2
If this is the case, try this to resolve: https://forums.aws.amazon.com/thread.jspa?threadID=229187