Created
April 4, 2018 08:36
-
-
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
This file contains hidden or 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
# 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