configuring port