Cannot connect to Tomcat server from external network


I cannot connect to my Apache Tomcat server from an external network.

I can make a localhost: 8080 from a browser and it returns a page to me. I can also use internal and public IP addresses and it works, from the same PC … that is. same network

But when I do public_ip: 8080 from a different network, it doesn't connect.

I think I have configured port forwarding correctly, I can see it in the logs.

Is there a TOMCAT setting to allow connections from an external network?