title: Apache httpd vs. Tomcat 7: port 80 vs. port 8080
body: <p>I had recently installed Tomcat 7 on Amazon ec2. I found that Tomcat, by default, listens on port 8080. </p>
  
  <p>The documentation on the internet advocates that this is because linux is better saving the lower ports to the super user. (The solution on ec2 btw is creating a Load Balancer - directing the communications from port 80 to port 8080 on the target machine)</p>
  
  <p>Than - to my surprise - I went on and installed an Apache server on another machine (yum install httpd), and surprise! - Apache listens on port 80 by default!</p>
  
  <p>This is awkward i thought... where are the 'port 8080' advocates now? </p>
  
  <p>can anyone please explain the conceptual difference?</p>
  
  <p>Thanks</p>