collected  wisdom
make learning easy

Collected  Wisdom © All rights reserved. Privacy Policy | Terms of Use

Home
Home.Wisdom.Blog.Files.About Us.Contact.
Home.Wisdom.Blog.Files.About Us.Contact.

Moodle Anywhere

Moodle is a great LMS that you will find at moodle.org. There is plenty going on over there and moodle 2.0 is in beta. If you haven’t already played around in moodle it would be well worth having a go.

There is plenty of help and information on their site.

 

What I’d like to comment on here is the pen drive portable version of moodle.  You can download this small version from the moodle anywhere page.

 

It is relatively straight forward to install the programme onto a pendrive.  There is, however, one problem that I encountered that doesn’t seem to have a reported solution.

 

When I ran the installation I could not log on to the service through localhost, and the 127.0.0.1 loopback IP address gave errors too.

 

I am not sure how widespread the problem is, but it seems that it is to do with the updated naming of Localhost to IPv6 from the legacy IPv4. This change can be brought about through the updating of some programmes. I had the problem on all of my computers.

To fix the problem you need to find and edit the hosts file on your computer.

 

Error description

· You can’t log into moodleanywhere with localhost

· You can log into moodleanywhere with 127.0.0.1 but still get an error on some pages which refer to localhost.

Comment

Moodleanywhere is a development environment and is not set to be referenced across a network, it is wired down to the local machine but the localhost dns is not recognised by the IPv6 convention. ::1

 

You need to go to the following path, NB you may have to change your settings to permit the viewing of hidden and system files. You will need admin rights.

C:\Windows\System32\drivers\etc\

The file name you are looking for is hosts

The hosts file has no extension so you will have to select notepad to open it.

The problem is that your hosts file may say  ::1    localhost instead of the way it used to be which was 127.0.0.1    localhost

So what we need to do is add the legacy address back into the hosts file. Just add it on the next line.

When you go to replace the original host file you will probably find that you can’t save over the top of it. Rename it as old-hosts. Save your new version to your desktop first, and drag it into the etc folder.

Your new hosts file will probably look something like this:

# Copyright (c) 1993-2006 Microsoft Corp.

#

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

#

# This file contains the mappings of IP addresses to host names. Each

# entry should be kept on an individual line. The IP address should

# be placed in the first column followed by the corresponding host name.

# The IP address and the host name should be separated by at least one

# space.

#

# Additionally, comments (such as these) may be inserted on individual

# lines or following the machine name denoted by a '#' symbol.

#

# For example:

#

#      102.54.94.97    rhino.acme.com      # source server

#       38.25.63.10     x.acme.com            # x client host

 

 

::1               localhost

127.0.0.1    localhost