nirvana.support.services
nirvana utils
Check whether the port is available to binding
-1 means not available, others means available
get one available port
nirvana utils