"localhost" is a special name that always means the machine you are currently using. 127.0.0.1 means the same thing.
Your server needs to have a proper IP and name (eg moodle.org) ... otherwise how can other people access your site?
If you don't have a hostname for that server, you can just use the IP in both fields.
Chat
help configuring chat...
This discussion has been locked so you can no longer reply to it.