Trying to resolve localhost not having a default PORT and Host enviromental variable