Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Sep 29, 2025, 06:35 AM

Title: Incoming requests from real visitor IPs are logged as 127.0.0.1 when Apache is
Post by: Suhitha on Sep 29, 2025, 06:35 AM
Question: Incoming requests from real visitor IPs are logged as 127.0.0.1 when Apache is listening on localhost


Applicable to:




Symptoms


Cause

This behavior is tied to a known bug that has already been resolved in more recent versions of Plesk Obsidian:


Fixed in:

     


Resolution

1. Update your Plesk version to the latest available version by using the steps in this article:
How to update Plesk Obsidian to the latest build?

2. Log into your server via SSH

3. Fix the malfunctioning server configurations after they have been updated to Plesk Obsidian 18.0.56 Update 2 and higher by running the following command:

Warning: Your sites may become inaccessible after executing this command. If that happens, make sure to restart the nginx web server manually

# plesk bin apache --listen-on-localhost true

                    If you cannot or do not want to update Plesk, use this workaround

1. Log into your server via SSH

2. Execute the following command in order to stop Apache from listening on localhost:

Warning: Your sites may become inaccessible after executing this command. If that happens, make sure to restart the nginx web server manually

# plesk bin apache --listen-on-localhost false