Making port and host configurable