Making port configurable for trap sessions