Add the possibility of specifiying a different host from localhost