Beeline is not working

I am trying to connect to beeline using below command
!connect jdbc:hive2:// scott tiger

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

Please a look into the issue.


Please use below command to connect to beeline
!connect jdbc:hive2:// scott tiger