Made it show local computer as localhost

To avoid some specific issues when local computer name cannot be
resolved via DNS