Check listening port in Darwin OS