replace use of localhost with actual hostname, required for ictce/4.1.13