8
3
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 friend can view my site hosted on my PC. If I go to the site https://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 then my router asks for a username and password. This means that my friend can connect to my router. How can I allow them to see the site hosted on Tomcat running on my PC?
I don't 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.
3No, not serverfault. This is an enduser question - not a sysadmin one. This should go to superuser.com. – None – 2009-08-12T09:53:16.487
Perhaps that you are behind a proxy. – None – 2009-08-12T12:09:25.813
I take it this PC is running Windows? A PC running Linux would require slightly different instructions. – David Thornley – 2009-09-16T20:09:00.970