Form for open/close port.