I am creating test environment for testing purposes through the clonezilla software.
My default setup was in config file was sitename:port address
Now because of my testing environment , I am putting static ip address of my system.
/var/moodledata:moodledata
/var/www:moodle code
In config.php
<?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'myname';
$CFG->dbpass = 'abcdef';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = 'http://192.168.1.3';
$CFG->dirroot = '/var/www';
$CFG->dataroot = '/var/moodledata';
$CFG->admin = 'ripas';
$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode
When I try to connect to the 192.168.1.3 through the Internet I am getting a message unable to connect on my browser. What should I check. I upgraded my ubuntu from14.04 to 16.04.
I checked my config.php file and it seems good. What else I need to check?
Please advise.
Thanks