Openssl commands and port 52311

Hello for auditing reason we use openssl to test various ports such as 443, 3389 and 52311 to test for certificates and the ciphers being used. For example to test port 443 I run this command
openssl.exe s_client -connect mywebuibox:443 -brief This returns cert info and cipher info. If i run this on 52311 I get a bunch of errors and this really surprised me. Below are some of the errors I am getting

C8410000:error:8000274D:system library:BIO_connect:Unknown error:crypto\bio\bio_sock2.c:114:calling connect()
C8410000:error:10000067:BIO routines:BIO_connect:connect error:crypto\bio\bio_sock2.c:116:
connect:errno=0

Anyone more knowledge=able about openssl have any idea what might be going on?