Log out the port.