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 10.0.0.6

I have windows vista with local adress 10.0.0.9.

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

Edit:

  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: 10.0.0.6 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 127.0.0.1 which is the given machine in question. Just use the 10.0.0.6 address DO NOT redirect localhost to 10.0.0.6 lots of programs assume that localhost IS 127.0.0.1 – Ramhound Feb 6 '12 at 12:30
    
thanks, but also directly 10.0.0.6 - 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 .