Can't access moodle from other PCs on the network

Can't access moodle from other PCs on the network

by Raj Gupta -
Number of replies: 2
Hi,

I have installed moodle on my PC (fedora 9). It is
working fine for that machine. However, I an not
able to see my moodle site from other PC.
My config.php looks like this.

$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'root';
$CFG->dbpass = 'yourpassword';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';

$CFG->wwwroot = 'http://172.23.3.116';
$CFG->dirroot = '/var/www/html';
$CFG->dataroot = '/var/www/moodledata';
$CFG->admin = 'admin';

$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode

$CFG->passwordsaltmain = 'ip[*%V{c`)D59O>PXY32T_sN,S.';

require_once("$CFG->dirroot/lib/setup.php");


Kindly suggest.

Thanks in advance
Raj

Average of ratings: -
In reply to Raj Gupta

Re: Can't access moodle from other PCs on the network

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi

> It is working fine for that machine.

What do you mean? If you start a browser in the same machine and visit http://localhost/ you see the Moodle page and can login as admin?

> However, I an not able to see my moodle site from other PC.

Where is the other PC? I mean, how is it networked to your Fedora-machine? What do you enter as the browser URL in the second machine? http://172.23.3.116 ?

If you can't see Moodle site in that, then _what_ do you see?