I see what you mean. I'm sure it's rare that someone is hosting a game server on the same machine as a website. BUT because it's PHP you can modify it. In the import.php script, if the $_SERVER['REMOTE_ADDR'] is your local IP address, you can do a simple:
if($_SERVER['REMOTE_ADDR']=="127.0.0.1") {
$_SERVER['REMOTE_ADDR']="public_ip";
}
If you do not know your public IP or it changes, you'll have to use an external service such as
https://api.ipify.org/
if($_SERVER['REMOTE_ADDR']=="127.0.0.1") {
$_SERVER['REMOTE_ADDR'] = file_get_contents('https://api.ipify.org');
}
Hope that helps!