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
In reply to Raj Gupta
Re: Can't access moodle from other PCs on the network
by Visvanath Ratnaweera -
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?
> 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?
In reply to Visvanath Ratnaweera
Re: Can't access moodle from other PCs on the network
by Raj Gupta -
The moodle site is opening in the local machine with http://localhost and
http://172.23.3.116 as well.
My machine is in network where the network is provided by
bits-pilani.ac.in.
In the browser of other machine, I am entering http://172.23.3.116
and it says firefox can't find the server at http://172.23.3.116
http://172.23.3.116 as well.
My machine is in network where the network is provided by
bits-pilani.ac.in.
In the browser of other machine, I am entering http://172.23.3.116
and it says firefox can't find the server at http://172.23.3.116