Check if a Port Is Open on a Remote Server
Simply do
nc -z -w 200 173.194.36.68 6379; echo $?
or
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 :)