How to check particular service/ports is avaliable on device.
Common ports like ftp, http, https, telnet, etc..
Error: Failed to connect to the remote host.
We can check this by telnet particular service with its port no. For example if I am unable to ftp (ftp port 21) on a server/router(remote device ip add 126.96.36.199), I will check
> telnet 188.8.131.52 21
>telnet 184.108.40.206 161
>telnet 220.127.116.11 162
If telnet will successful, it will shows that particular service or port is open on that device/server, if not it will show you error.
>telnet 18.104.22.168 80
>telnet 22.214.171.124 443
Several times we faced problems in network while upgradation, transfer data, access remote devices, etc because customer might have blocked particular service(s) on device.