There is a problem with the link when a person wants to enrol for a course.
I have used http://localhost:8088/moodle/index.php
for my site with port 8088.
After selecting to enrol in a course as a student, you are prompted to this page:
"You are about to enroll yourself as a member of this course.
Are you sure you wish to do this?
If you click yes, you are redirected to the site http://localhost/moodle/course/view.php?id=44
The port :8088 is missing from the URL. IT should be http://localhost:8088/moodle/course/view.php?id=44