Server Fault is a question and answer site for system and network administrators. 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

How to set up a web server on a EC2 Ubuntu on port 80?

There already seems to be a daemon listening on port 80 by default? What is that daemon and is it safe to kill it?

#lsof -i
java       1290   root   41u  IPv6   3856       TCP *:www (LISTEN)
share|improve this question
up vote 2 down vote accepted

It seems that the image you are using came with a web server by default. I saw a similar issue with the Fedora 8 LAMP image. I just killed the default daemon and install httpd from the yum repositories. Anyways I'd choose an image with no web server installed by default. Which image are you using? Maybe the provider of the image has some documentation about the web server installed.

share|improve this answer
Futhermore, it looks like Tomcat or some other java based web server that is installed on the image he used. – Dave Drager Sep 28 '09 at 16:27
@All: Yep, it appears so. My image came with a pre-installed java web server. I terminated it and went for a Fedora with LAMPP. – Alex Sep 29 '09 at 20:22

Your Answer


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.