Check if a Port Is Open on a Remote Server
nc -z -w 200 22.214.171.124 6379; echo $?
nc -z -w 200 codesapling.com 6379; echo $?
If it returns
0 that means port is open, if
1 port is closed.
This takes a little bit of time. Be patient :)