title: How to access my application running on tomcat server using IP address instead of localhost
body: <p>I am trying to access my web application deployed in tomcat server using IP address instead of 
  localhost. I am trying to access the address from the same PC where the application was deployed. Interestingly, it worked for me at my work wi-fi network but not in my home network. I have already seen </p>
  
  <p><a href="https://stackoverflow.com/questions/10636430/how-to-run-a-apache-tomcat-webserver-on-my-pc-and-access-if-from-a-real-android">How to run a Apache Tomcat Webserver on my PC and access if from a real Android Device?</a> </p>
  
  <p><a href="https://stackoverflow.com/questions/13307429/why-tomcat-instance-running-by-tomcat-is-only-visible-with-localhost-address-not">why tomcat instance running by tomcat is only visible with localhost address not with my real network ip?</a></p>
  
  <p>Does this have something to do with my firewall settings or router settings. If so can someone provide detailed pointers on what has to be done? </p>