You can check the port connection with this command, but the ICMP needs to be released. This procedure is a network diagnostic tool that continuously sends packets showing the ping time for each hop.
mtr -P < port > < IP >
The above command will display the traceroute report:
From the above output, the traceroute report keeps showing until its done. To interrupt it, press CTRL+C keys.