Cobra Forum

Plesk Panel => Webserver => Topic started by: mahesh on Nov 27, 2024, 06:38 AM

Title: Incoming requests from real visitor IPs are logged as 127.0.0.1
Post by: mahesh on Nov 27, 2024, 06:38 AM
Question:
Incoming requests from real visitor IPs are logged as 127.0.0.1 when Apache is listening on localhost
Symptoms
Cause
This behavior is tied to a known bug that has already been resolved in more recent versions of Plesk Obsidian:

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:
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:

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