configurable port in client