If you ever want to quickly check if you can reach a port (like network troubleshooting) and you have access to both machines, why not open the port on the remote system and connect to it?

Open Ports

# TCP
sudo nc -l <portnumber>

# UDP
$ sudo nc -lu <portnumber>

Access Port

# TCP
$ telnet <ip> <port>


# UDP
$ nc -zu <ip> <port-range>