Beeline is not working

I am trying to connect to beeline using below command
!connect jdbc:hive2://nn01.itversity.com:10000 scott tiger

But its failing with error :
beeline> !connect jdbc:hive2://nn01.itversity.com:10000 scott tiger
Connecting to jdbc:hive2://nn01.itversity.com:10000
20/01/02 07:28:36 [main]: WARN jdbc.HiveConnection: Failed to connect to nn01.itversity.com:10000
Error: Could not open client transport with JDBC Uri: jdbc:hive2://nn01.itversity.com:10000: java.net.ConnectException: Connection refused (state=08S01,code=0)
0: jdbc:hive2://nn01.itversity.com:10000 (closed)>

Please a look into the issue.

Thanks,
Subhasis

@subhasis_shaw1
Please use below command to connect to beeline
!connect jdbc:hive2://rm01.itversity.com:10000 scott tiger