Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This is happening on OS X 10.8 in both Chrome, Firefox, and Safari. There is currently nothing running on port 3000 so I cannot imagine it is related to the Rails project there. It seems to be system wide but I wiped the etc/hosts file and flushed the cache.

share|improve this question
1  
Did you try http:// localhost:3000? –  ekaj Jul 3 '13 at 14:59
    
Yes, I found the reason so I'll update in a second. –  Aaron Jul 3 '13 at 15:03

1 Answer 1

The culprit was Rack. Another developer had added rack middleware that did a 301 redirect for all domains to go to www.#{domain}

share|improve this answer

Your Answer

 
discard

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.