Hi
No, I can't access Moodle - localhost:80 is what takes me here.
I'm trying to run a local installation of Moodle to develop a course before moving it to a live server. Obviously, all was working fine until recently - I could access Moodle no problem.
I tried editing setuplib.php as you described.
Now what happens is I try to access localhost:80/moodle or localhost:80/moodle28 and immediately get the error in the screenshot - I seem to be being forwarded to localhost:8888/moodle28...
So to recap, I was getting the same errors as Tina, changed the ports in MAMP as you described, restarted the servers and then received the error.
I've changed setuplib.php but if I figured this out correctly, all that changed was the amount of time it waited to give me an error message.
Thanks for your time!