I'm trying to run Phantomjs (most specifically Casperjs) on a Amazon EC2, using Ubuntu latest image (12.4). To be sure, I tried with two different builds. One compiled on my dev machine (Phantomjs 1.6.0) and another built in the EC2 itself (Phantomjs 1.6.1).
Both with same results: The connection doesn't happen.
Using the pizza example:
I can
wget 'http://lite.yelp.com/search?find_desc=pizza&find_loc=94040&find_submit=Search'
and I get the requested page, but when I run
phantomjs examples/pizza.js
I get
Unable to access network.
There are no rules active on iptables.
Any hints on what might be causing that? Or what should I do to get more details about the issue?
Thanks.