Cannot connect to Tomcat server from outside network

I cannot connect to my Apache Tomcat server from outside network.

I can do a localhost:8080 from a browser and it returns a page. I can also use the internal and public ip addresses and it works - from same pc..i.e. same network.

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

I believe I've set port forwarding correctly - I can see it in the logs.

Is there a TOMCAT setting to allow connections from outside network?

6

1 Answer

I changed the Tomcat server port to 8081 and it worked!

Not sure why 8080 wasn't working.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like