Is it possible that this Moodle was first installed as a "localhost" installation, means Moodle responds only to a browser running in the computer it was installed, and then moved to the Internet? Then there are still old links in the database. Read https://docs.moodle.org/en/Moodle_migration#Update_links_containing_wwwroot_in_the_database.
WARNING: Read all the warning it generates carefully. A misstep can make your Moodle unusable!
General help
links gets generated as http://127.0.0.1/
This discussion has been locked so you can no longer reply to it.