title: How to open 8080 port to listen HTTP request from remote computer in ubuntu?
body: <p>I have run following command :-</p>
  
  <pre><code>  nmap localhost
  </code></pre>
  
  <p>and get following result :- </p>
  
  <p><code>Starting Nmap 6.40 ( http://nmap.org ) at 2015-08-28 09:52 UTC
  Nmap scan report for localhost (127.0.0.1)
  Host is up (0.00031s latency).
  Not shown: 994 closed ports
  PORT     STATE SERVICE
  22/tcp   open  ssh
  80/tcp   open  http
  3306/tcp open  mysql
  8000/tcp open  http-alt
  8009/tcp open  ajp13
  8080/tcp open  http-proxy
  </code></p>
  
  <p>and when i run same command using IP of this(remote) computer i.e :-</p>
  
  <pre><code>nmap 54.149.233.194
  </code></pre>
  
  <p>i got following result :- </p>
  
  <p><code>Starting Nmap 6.40 ( http://nmap.org ) at 2015-08-28 09:52 UTC
  Nmap scan report for ec2-54-149-233-194.us-west-2.compute.amazonaws.com (54.149.233.194)
  Host is up (0.00072s latency).
  Not shown: 996 filtered ports
  PORT     STATE  SERVICE
  22/tcp   open   ssh
  80/tcp   open   http
  8000/tcp open   http-alt
  9000/tcp closed cslistener
  </code></p>
  
  <p>So please tell me how can i open 8080 port for listening http request from remote computer using <a href="http://IP_ADDRESS:8080/">http://IP_ADDRESS:8080/</a>
  <br>
  A tomcat instance is running on this computer at 8080 port, but i am unable to access it remotely.</p>