configurable port and host