Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 have Apache server on Ubuntu that i can access with 'localhost' - network local adress

I have windows vista with local adress

I want to able access ubtunu 'localhost' from windows browser.


  1. I have access with the name 'mysite.ll' and not to 'localhost' - i just write for convience 'localhost'

  2. I define in windows hosts file: mysite.ll www.mysite.ll + ipconfig /flushdns - and then access from windows 'mysite.ll' but i get response: "Chrome could not connect to mysite.ll"

Update: When i down the ubuntu firewall my windows access the ubuntu apache server. What should i define in my ubuntu firewall (I use firestarter)?

Solution: add new rule in firestarter

please help me

share|improve this question
localhost is a loopback address for which is the given machine in question. Just use the address DO NOT redirect localhost to lots of programs assume that localhost IS – Ramhound Feb 6 '12 at 12:30
thanks, but also directly - not works for me – Yosef Feb 6 '12 at 12:35
up vote 1 down vote accepted

Make sure the Apache server is running and accessible from the Ubuntu machine.

Then make sure the ufw firewall (gufw will work if you have a gui installed) has been configured to let traffic from other computers through port 80.

share|improve this answer
Thanks,please see my update – Yosef Feb 6 '12 at 13:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .