3
Quick fix is to change the URL in mainfile.php from 'localhost' to the actual IP. Real fix is in DNS/Hosts but the IP will work for now.
It is happening from a remote machine because once mainfile.php is read the links try to find the files on 'localhost' which as the name implies is the local machine and not the remote server....