Home > Back-end >  Banned IP and port direct access to the project
Banned IP and port direct access to the project

Time:11-06

Now have two projects a front-end, front end program is invoked by other service invocation must take parameters, such as: 127.0.0.1:8080/aaa=123 that I can now banned 127.0.0.1:8080 the direct access to my project, must take parameters to access, if direct access will not give any response, like

And a back end separate webservice project, is also this kind of situation, if direct access to the IP address + will appear , and there is also a response to the 2020-10-22 console 16:51:44. 6136-135 WARN [nio - 1940 - exec - 5] O.S.W eb. Servlet. PageNotFound: No mapping for the GET/

I think of is this access is not, can't access to a service, don't know whether this is feasible

CodePudding user response:


CodePudding user response:

Id==2 in return is ao, ano is accidentally press to run later

CodePudding user response:

You this is according to pass and return different values, what I need is the IP + + port parameters can normal visit, IP + port blocking access thank you admire, but not the answer I need

CodePudding user response:

Tools generally can be configured in the Filter (Filter),
If is the code, the entrance to the place directly behind the wrong line

CodePudding user response:

PathVariable
  • Related