I have just bought my first RaspberryPi. It is a RPi 4 Model B 4GB running Rasbian.
On the system I have already installed and configured Tomcat Server. I can access it from my private network using Pi's private ip but I can not find a solution for making it accessible over the public network.
The Tomcat server is running on port 8080 so I allowed all the traffic on this port in my UFW. I am using a D-Link Router (DIR-809 - Hardware Version: A3 and Firmware Version: 1.09) and I tried port forwarding the 8080 port to my Pi and also added a virtual server rule for the port 8080, but it still does not work.
What is the solution for making it accessible over the public network? I have attached images with the settings that I have made.