Thanks Gill - good to know.
Unfortunately, for some unknown reason, the solution has now stopped working and I cannot access my Moodle using localhost or the IP address. As far as I know I didn't do anything to bring about the sudden change but I am now getting the following error message:
"Oops! Google Chrome could not connect to 127.0.0.1" in Chrome
"Internet Explorer cannot display the webpage" in IE
and similar error message in other browsers (eg Firefox, etc)
Any idea why this might be - or what I can do to go back to earlier today when it suddenly started working?
Help much appreciated!