changed host

changed from localhost to gethostbyname(gethostname)