I see many examples for nc, even one in the man page, that says
nc -zv 126.96.36.199 10-30
would report the open ports in the range 10-30. However, on my machine all the closed ports are also reported, so when I use a large range to check if any ports are open I am flooded with "connection refused" messages.
Why is the behavior on my machine different?
Should I simply filter away the verbose outut, or is there a way to let nc report only open ports?