Skip to content

  • Home

How to tell if a port is open given an IP address in macOS

April 7, 2026
 |  No Comments

the command is:

nc -zv :IP :PORT

nc -zv :HOSTNAME :PORT

hostname is a string as ‘www.google.com’ or ‘abcd’

Views: 95
Tags: hostname, ip, mac, macos, nc, netcat, port, zv

Post navigation

← be able to ping one’s own PC/server (from internet)
View high-resolution images in the console on macOS →

Categories

Theme By SKT Minimal