Answer the question
In order to leave comments, you need to log in
How to reach application from TomCat internet?
Hello, what manipulations do I need to do in order to reach the application from the Internet through the ip address?
There is an orange pi on it is ubunta + TomCat server and the application is deployed under the local host normally, but from a laptop, for example, I can’t log in anymore (within the same network) why?
I am also interested in how to set up a server so that I can easily view the application from the Internet by ip?
Answer the question
In order to leave comments, you need to log in
Nothing personal, but that's not the way to ask questions. It needs to be more systematic. One hundred million reasons maybe. He misconfigured the LAN to closed ports. What is the result of connection attempts? (the error code is also the result). Where is the confidence that the matter is in the application?
1. Check if the host with Tomcat is pinging.
2. Check that the port on which the application is hanging is not blocked by a firewall.
3. Check the mapping in the application - it is possible that the path to which the connection is made is not obeyed by the tomcat
5. Is anyone proxying requests on the target host?
6. If there is some kind of security library (for example, Spring Security), then check the settings. By default, most of them close all urls (error 403)
7. If the application has resource resolvers and they are incorrectly configured, then when trying to reach the resource address, the application will close the connection with a 404 code.
8. Perhaps an internal application error - codes
5xx But in reality, if you start digging, there are an order of magnitude more of them. And everyone needs their own solution. Try. Specify.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question