Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Apache and Phusion Passenger on a Rackspace Cloud server (Ubuntu 12.04 LTS), but for some reason I can't access it from an outside machine.

From the local server I get a correct response:

root@ttt:/opt# wget
--2012-09-26 03:12:42--
Resolving ( 198.101.xx.xx
Connecting to (|198.101.xx.xx|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9365 (9.1K) [text/html]
Saving to: `index.html'

Whereas from my local machine, and from another server, I get the following:

root@server:/opt# wget
--2012-09-26 10:13:42--
Resolving 198.101.xx.xx
Connecting to|198.101.xx.xx|:80... failed: Connection timed out.

I can see that the A record must be working, since I get the correct IP. How come Apache responds to local queries, but not to remote?

This is a clean installation, there is almost nothing else on the server, apart from Apache, MySQL server, Git and RVM.


share|improve this question
up vote 0 down vote accepted

It turns out, Rackspace blocks all ports by default on new cloud servers (apart from 22 for SSH obviously).

I had to amend iptables to allow for traffic on port 80, 443, etc.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.