$CFG->wwwroot

$CFG->wwwroot

by Mark Rudnicki -
Number of replies: 2

Not sure if this belongs in this forum...

When I have the IP address configured as wwwroot, I get timeouts from a remote machine. When localhost is configured, I have no problems from my local machine.

The IP is configured at my ISP training.myco.com = x9.x9x.x9x.x9x 


// $CFG->wwwroot   = 'http://localhost:8888';

$CFG->wwwroot   = 'http://x9.x9x.x9x.x9x';

$CFG->dataroot  = '/Applications/MAMP/data';


What am I missing?

Thoughts?


Average of ratings: -
In reply to Mark Rudnicki

Re: $CFG->wwwroot

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Unless you're doing something deadly secret it would be more use if you have us the *real* data wink

Anyway, first thing, if you have a hostname for this (your training.myco.com) why is it not...

$CFG->wwwroot = 'http://training.myco.com';

Failing that, is the IP correct? How do you know? Is it a routable IP address (see https://en.wikipedia.org/wiki/Private_network)? Is there something (e.g. a firewall) between your testing browser and the server?