How to disable the call to Tomcat bypassing introductory Apache HTTP server?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/code-flow.club/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
3 views
Installed: the Apache server sits on the 80th port and requests *.jsp redirects via mod_jk to Tomcat, which is 8080. And everything works fine, but the question is, what about port 8080 on which Tomcat is spinning? After all, anyone can instead example.com to gain example.com:8080 and thus bypass the Apach! I mean a deliberate action of the user.

Just change the port to some other I think not an option.
by | 3 views

2 Answers

0 like 0 dislike
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
Your Directive: address
Set it to 127.0.0.1 and you will be happy.
by
0 like 0 dislike
Restrict access to port 8080 at the ip of the server, which is Apache if everything is on one machine, block 8080-th ports for access from the world.
by

Related questions

0 like 0 dislike
1 answer
asked May 10, 2019 by TosterGuest
0 like 0 dislike
1 answer
asked May 22, 2019 by azerphoenix
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Apr 22, 2019 by vanesxl
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
22,671 users