Created
April 4, 2014 15:23
-
-
Save jsm/9976972 to your computer and use it in GitHub Desktop.
Port checking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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