I have a tomcat container running on docker desktop.
I am able to access the webpages served by the tomcat container from the other computers which are on the same LAN as the docker host (e.g. http://192.168.x.x:8080).
However, when I tried to access the tomcat container via the WAN ip, it failed to connect.
I tested using the following tool and found my port is open:
testing with Test-NetConnection in powershell shows that ping is successful but TCP connect failed.
I have already done port forwarding on my router and added the firewall entry on my docker host.
What could be wrong?