First, it's worth clarifying that by "status" we understand the question to be asking whether the port is open or not; that is, whether there is an application listening to that port. There are two cases to be considered, namely TCP and UDP.
How can I check the status of a given port on a remote host?
First, it's worth clarifying that by "status" we understand the question to be asking whether the port is open or not; that is, whether there is an application listening to that port.