I’m trying to test out some Facebook features on my rails application and I would like to use a host file to redirect my
localhost:3000 when developing.
Here’s what I’ve added to my
Then I flushed my DNS cache:
Yet I still can’t access my local rails application using
foo.com. Any suggestions?
I think you shouldn’t set port at hosts file. Port would be setup by rails
rails server -p 3000
Answered By – Abbasov Alexander
Answer Checked By – Pedro (BugsFixing Volunteer)