Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
1  
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
add comment

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.