Skip to content

Instantly share code, notes, and snippets.

@jsm
Created April 4, 2014 15:23
Show Gist options
  • Save jsm/9976972 to your computer and use it in GitHub Desktop.
Save jsm/9976972 to your computer and use it in GitHub Desktop.
Port checking
# Run on machien you want to connect to
sudo nc -l PORT
# Run on machine that's connectiong
nc -v -w 1 HOST -z PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment