Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Localhost.

Localhost: Difference between revisions

From MoodleDocs
(Change link)
(edit to help make clear an FAQ I have a localhost where is internet?)
Line 1: Line 1:
A '''localhost''' is a website installed and then used on the same computer.
A '''localhost''' means "this computer" in a network.  In Moodle documentation, a localhost refers to a web server with Moodle, which is installed on a computer that is '''not''' connected to the internet.


  In [[http://en.wikipedia.org/wiki/Localhost techie]] talk   
  In [[http://en.wikipedia.org/wiki/Localhost techie]] talk   
Line 7: Line 7:
The default internal loop IP for the localhost is usually 127.0.0.1 .  This IP is different from the IP that identifies the computer on the network.   
The default internal loop IP for the localhost is usually 127.0.0.1 .  This IP is different from the IP that identifies the computer on the network.   


==Localhost example==
After installing one of Moodle's [[Complete install packages for Windows]] on a Windows machine, the  user is instructed to open up a web browser and type "localhost" in the address bar.


Example. After installing one of Moodle's [[Complete install packages for Windows]] on a Windows machine, the  user is instructed to open up a web browser and type "localhost" in the address bar.
==Using a localhost on an internal network==
A localhost webserver sometimes can be seen by other computers on the same network.


A localhost webserver sometimes can be seen by other computers on the same network.  For example, a teacher might have one computer in the classroom initially set up as a localhost with a Moodle on it.  The 5 other computers students use as workstations can see that Moodle if they are on the same network. The students need to know the Moodle computer's network IP address and type that in their address bar of their browser.  However, students will not be able to use it from home.
For example, a teacher might have one computer in the classroom initially set up as a localhost with a Moodle on it.  The 5 other computers students use as workstations can see that Moodle if they are on the same network. The students need to know the Moodle computer's network IP address and type that in their address bar of their browser.  However, students will not be able to use it from home.
 
==See also==
*[[Moodle partner]] for web hosts on the internet
*[[Web Hosts]] for other web hosts
*[[Complete install packages]] Windows and Mac OS links
*[[Installing Moodle]] the overview and lots of details

Revision as of 15:03, 1 February 2009

A localhost means "this computer" in a network. In Moodle documentation, a localhost refers to a web server with Moodle, which is installed on a computer that is not connected to the internet.

In [techie] talk   
  " A localhost is a Internet Protocol loopback device which can be used by 
    TCP/IP applications  to talk to themselves."

The default internal loop IP for the localhost is usually 127.0.0.1 . This IP is different from the IP that identifies the computer on the network.

Localhost example

After installing one of Moodle's Complete install packages for Windows on a Windows machine, the user is instructed to open up a web browser and type "localhost" in the address bar.

Using a localhost on an internal network

A localhost webserver sometimes can be seen by other computers on the same network.

For example, a teacher might have one computer in the classroom initially set up as a localhost with a Moodle on it. The 5 other computers students use as workstations can see that Moodle if they are on the same network. The students need to know the Moodle computer's network IP address and type that in their address bar of their browser. However, students will not be able to use it from home.

See also