I am getting below error when I am trying set partner to principal server
Error: 1474, Severity: 16, State: 1.
Database mirroring connection error 2 'Connection attempt failed with error: '10061(No connection could be made because the target machine actively refused it.)'.' for 'TCP://DRSQL2008R2.test.local:5023'.