Skip to content

Instantly share code, notes, and snippets.

@Eidansoft
Created April 4, 2018 08:36
Show Gist options
  • Save Eidansoft/8cf5488af08d577f2ad6c6e2aee43d49 to your computer and use it in GitHub Desktop.
Save Eidansoft/8cf5488af08d577f2ad6c6e2aee43d49 to your computer and use it in GitHub Desktop.
Test to easily check if there is any network issue between two machines
# In the first machine just execute the tool netcat with the port to test and in listening mode
nc -lp 8080
# In the second machine just execute also the netcat but connecting to the previous machine by IP
# or and nameserver, and to the same port
nc 123.123.123.123 1 8080
# From now on all wrote in any machine must appear at the other after INTRO
# This can be used to test connectivity issues between machines, docker containers, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment