Check if a Port Is Open on a Remote Server
nc -z -w 200 184.108.40.206 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 :)