Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just installed apache2 this morning and am able to start the server and correctly pull up the sample webpage at http://localhost.

I am behind a router so I set the router up for port forwarding to the proper server computer.

However, when I enter http:// to access my page into my browser, it does not work, and says server not found.

Can anyone please suggest what might be the problem here? This is a typical installation of desktop Ubuntu 12.04.

share|improve this question

1 Answer 1

I assume you are trying to access the web server from a machine on the other side of your router since you mentioned that you are port forwarding to the ubuntu server. Is it possible the router has a firewall which is blocking port 80 (http)? Is it possible you have a firewall installed on the Ubuntu server like firestarter that might be blocking port 80? Can you access the page from another machine on your internal network?

share|improve this answer
    
I can access the page from another machine on my internal network with no problem. –  Michael Clare Apr 27 '12 at 16:11
    
I don't have a firewall, pretty much this is a fresh install of desktop ubuntu 12.04. I will check to see if there is a router firewall, thank you. –  Michael Clare Apr 27 '12 at 16:12
    
Some ISPs block port 80 - you might try running the web server on a different port and accessing the page that way http://host:port –  in8sworld Apr 27 '12 at 16:14
    
Also, it does not seem to be a router issue, as I connected my server directly to the ISP, bypassing the router to check this. The page still did not pull up. –  Michael Clare Apr 27 '12 at 16:16
    
Can you confirm that your ISP isn't blocking port 80? Many do. –  in8sworld Apr 27 '12 at 16:20

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.