title: Where to mention port while giving hit to server?
body: <p>I have one small doubt and may be silly but I want to clear the doubt.</p>
  
  <p>Say I have server computer in which I have tomcat and apache server running.</p>
  
  <p>I can now access the admin page using 
  "http://localhost:8080/" = Tomcat for java
  "http://localhost/"      = Apache Server for php pages</p>
  
  <p>So now when I access the url like 
  <a href="http://www.abc.com/Construction/index.html" rel="nofollow">http://www.abc.com/Construction/index.html</a>
  so it will go and hit which application ie apache or tomcat when both are having index.html page in it.</p>
  
  <p>In short where we use to mention port?
  <a href="http://www.abc.com/" rel="nofollow">http://www.abc.com/</a> in this url where is the application port mentioned also how do http protocol port 80 will come in picture in this?</p>
  
  <p>Please clear my doubt.</p>
  
  <p>Thanks</p>