9
Back to the basics. In mainfile.php are you talking about the line:
define('XOOPS_URL', 'xxxxx');
or
define('XOOPS_DB_HOST', 'xxxx');
If the MySQL server is on the same box as the web server then:
define('XOOPS_DB_HOST', 'localhost');
or a dumb Windose box can be:
define('XOOPS_DB_HOST', '127.0.0.1');
localhost/127.0.0.1 is the same thing.
The other line define('XOOPS_URL', 'xxxxx'); will contain the IP or hostname that other computers (browsers) need to use to get to the webserver server.