test connectivity between two remote hosts
How can I test a connection between two remote hosts from my workstation? Example - I want to test(from my workstation) if server A has connection to a service that is running on port 8087 on server B.
Solution 1:
This is a task for telnet. Telnet is a client-server protocol based on character-oriented data exchange over TCP connections. Telnet enables remote control of computers via text-based inputs and outputs.
Login to server A, then if server B's ip address is 123.456.789.123. from a command prompt enter the telnet command:
telnet 123.456.789.123 8087
If there is an active service on that port you should get a response similar to:
Trying 123.456.789.123...
Connected to server B.
Escape character is '^]'.
For more information about telnet see: https://www.telnet.org/htm/faq.htm