Are Visitor IPs Getting Properly Logged On My Server?

Your server's IP address is Your IP address (as logged in the server) is
115.72.166.168 107.23.176.162

Verdict: YES

Client & Server Info

Array
(
    [USER] => endfile
    [HOME] => /home/endfile
    [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] => 42830
    [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] => 107.23.176.162
    [SERVER_PORT] => 80
    [SERVER_ADDR] => 118.69.182.29
    [SERVER_NAME] => 5file.net
    [SERVER_SOFTWARE] => Apache
    [SERVER_SIGNATURE] => 
    [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
    [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] => 107.23.176.162
    [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
    [proxy-nokeepalive] => 1
    [SCRIPT_URI] => http://5file.net/ip.php
    [SCRIPT_URL] => /ip.php
    [UNIQUE_ID] => XJbthdX0VsovQpgEmSy6qgAAAQ4
    [FCGI_ROLE] => RESPONDER
    [PHP_SELF] => /ip.php
    [REQUEST_TIME_FLOAT] => 1553395077.3953
    [REQUEST_TIME] => 1553395077
    [argv] => Array
        (
        )

    [argc] => 0
)