Skip to content

Instantly share code, notes, and snippets.

@wonglkd
Created November 25, 2016 05:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wonglkd/325bca0717f7b513a2514fc61618dd1d to your computer and use it in GitHub Desktop.
Save wonglkd/325bca0717f7b513a2514fc61618dd1d to your computer and use it in GitHub Desktop.
Test if port is open
# on server
# tips: -u for UDP,
nc -l <port>
# on client
nc <ip> <port>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment