Are Visitor IPs Getting Properly Logged On My Server?

Your server's IP address is Your IP address (as logged in the server) is
171.239.232.156 3.227.2.109

Verdict: YES

Client & Server Info

Array
(
    [PATH] => /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
    [TZ] => Asia/Ho_Chi_Minh
    [HTTP_CONNECTION] => close
    [SCRIPT_NAME] => /ip.php
    [REQUEST_URI] => /ip.php
    [QUERY_STRING] => 
    [REQUEST_METHOD] => GET
    [SERVER_PROTOCOL] => HTTP/1.1
    [GATEWAY_INTERFACE] => CGI/1.1
    [REMOTE_PORT] => 36728
    [SCRIPT_FILENAME] => /home/endfile/public_html/ip.php
    [SERVER_ADMIN] => webmaster@5file.net
    [CONTEXT_DOCUMENT_ROOT] => /home/endfile/public_html
    [CONTEXT_PREFIX] => 
    [REQUEST_SCHEME] => http
    [DOCUMENT_ROOT] => /home/endfile/public_html
    [REMOTE_ADDR] => 3.227.2.109
    [SERVER_PORT] => 80
    [SERVER_ADDR] => 118.69.182.29
    [SERVER_NAME] => 5file.net
    [SERVER_SOFTWARE] => Apache
    [SERVER_SIGNATURE] => 
    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [HTTP_USER_AGENT] => CCBot/2.0 (https://commoncrawl.org/faq/)
    [HTTP_X_REAL_IP] => ::ffff:3.227.2.109
    [HTTP_X_FORWARDED_SERVER] => 5file.net
    [HTTP_X_FORWARDED_PROTO] => http
    [HTTP_X_FORWARDED_PORT] => 80
    [HTTP_X_FORWARDED_HOST] => 5file.net
    [HTTP_HOST] => 5file.net
    [SCRIPT_URI] => http://5file.net/ip.php
    [SCRIPT_URL] => /ip.php
    [UNIQUE_ID] => XaqQhO-q1G51aq7I5gTSgwAAAAU
    [FCGI_ROLE] => RESPONDER
    [PHP_SELF] => /ip.php
    [REQUEST_TIME_FLOAT] => 1571459204.5885
    [REQUEST_TIME] => 1571459204
    [argv] => Array
        (
        )

    [argc] => 0
)