I have 2 routers.
router 1 IP : 192.168.4.1 router 2 IP : 192.168.5.1
I can easily forward port 8080 from router 1 to router 2 which routes it to a Tomcat server (port 8080 also).
I accesss this server via:
When I change to Tomcat to port 5000, and reconfigure the routers, I can access the Tomcat instance using (inside my LAN)
But, accessing my Tomcat from outside doesn't seem to work at all! I just changed the port and it doesn't work anymore:
I installed Wireshark on the server and using the URL above does trigger anything (so the server is not being hit). I've tripled checked port forwarding...
Is there a magic trick or something special to do to use any port other then 8080?