With the demise of telnet in macOS 10.13 High Sierra it is recommended we use the nc command.

Here is an example os the usage:

nc -z 192.168.110.220 8443

The -z flag can be used to tell nc to report open ports, rather than initiate a connection

You can also test a range:

nc -z 192.168.110.220 1-8443

View the man page for nc: 

man nc

Samuel Valencia

Sam has spent the last two decades building the MSP arm of The HCS Technology Group. Strategic to building up our Connecticut location, Sam participates in all aspects of business development, operations and, client relations.

Speak with an Apple Certified expert today

We’d love to discuss your business challenges, even if you’re not sure what your next step is. No pitch, no strings attached.

Let's Talk