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 18.104.22.168 and of my PC is 22.214.171.124.