Tag:real

  • Using httprequest to get user’s real IP address in Java

    Time:2020-7-20

    In JSP, the method to obtain the client’s IP address is as follows: request.getRemoteAddr This method is effective in most cases. But through Apache, squid, nginx and other reverse proxy software, we can’t get the real IP address of the client. If reverse proxy software is used, the http://192.168.1.110 The URL reverse proxy for: 2046 […]