I am running Apache Tomcat on my PC. My PC is connected to a router in my house and the router is connected to my ISP. Now I want to run a server on my pc so that my frined can view my site hosted on my pc. If I go to the site whatismyip.com I know that my IP address is xx.xx.xx.xx. This is the IP of my router I guess. If I type http://xx.xx.xx.xx in my browser the my router asked for a useename and passwd. This means that my friend can connect to my router. How can I allow them to see the site hosted on tomcat runing on my PC?
I dont want to use commercial hosting and I want to use my PC only as a server due to some reasons.
The internal IP of my router is 192.162.1.1 and of my PC is 192.162.1.2.