Extract port as a field