fixes bug in server launce with host hardcoded to localhost