Instead of referencing localhost here, couldn't we reference our external IP? If the external IP matches our own IP it'll still be routed the same, but we won't have to generate unique settings files for each device. All devices could use the same settings file.

For example, if our IP is 192.168.0.1 and we set this field to '127.0.0.1', we'd have to have the same field set to '192.168.0.1' in any other device's settings file.