configure the port