Making app resolver default the hostname to the machine's hostname inste...

...ad of "localhost"