I was following this instruction to validate my debugger configuration on Web Server. I uses a remote server whose FTP connection has been tested, but I get this warning message saying
Remote host is configured as 'localhost' despite server host is probably not local
My first question is: what does "remote host" and "server host" refer to respectively?
I know remote host is the setting xdebug.remote_host, and according to the xdebug documentation, it is "the host where the debug client is running".
This makes me confused: Isn't the debug client the IDE I am running on my local machine?
If yes, then shouldn't "the host where the debug client is running" be my local machines's IP address? If yes again, should I configure xdebug.remote_host to be my IP?
I tried setting it to my IP, the warning message does't show but it doesn't feel right because later I tried it with a random IP the message also doesn't show.
Secondly, the xdebug documentation also says that this xdebug.remote_host setting will be ignored if xdebug.remote_connect_back is enabled." Although not quite sure what this setting does, I set it to be "On", as the picture shows:

I was hoping this will eliminate the warning message, but it is still there. So how do I get rid of this message?

remote_hostshould have an IP of your computer where PhpStorm is running as sees from that remote server. For that you need to ensure that xdebug port is opened on your firewall/router -- in other words -- that xdebug is able to connect to your computer (because that's exactly how it works -- xdebug.org/docs/remote). 2)remote_connect_backcan be dangerous -- anyone who will issue "debug this" commend will be able to communicate with your xdebug. But if you are happy to use it .. then you can ignore what IDE says.remote_hosthas to be local IP (e.g. 127.0.0.1) 4)remote_connect_backcan be OK to use when server in in LAN (e.g VM or physical server somewhere next to you)