Check if remote port is open

There is multiple ways to check if a remote port is open from a linux command line