Typcast port and tls. Remove console.log()