Created
June 5, 2015 09:02
-
-
Save ybr/a8daa4a6f92613559e07 to your computer and use it in GitHub Desktop.
Check client/server connectivity
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
Stop the service listening on the specific port. Make a server listen on the specified port number by running | |
```bash | |
netcat -luv port | |
``` | |
From a remote host run | |
```bash | |
echo "test" | netcat -vu ip port | |
``` | |
If you the text 'test' gets displayed on the server, then all is good. Otherwise check your security group and local host firewall rules. You can also use tcpdump for troubleshooting | |
From: http://serverfault.com/questions/678607/udp-tcp-ports-on-aws-ec2-public-ip-blocked |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment