Skip to Content
Author's profile photo Shabarish Nair

Checking Connectivity of any server with PI

One of the question that keep on repeating in the forums is around connectivity checks from PI to another server or vice versa. This is a really basic question but due to the increasing number of queries around this, I am posting this blog as a quick reference.

So what is the ideal way to check the connectivity? Follow the below steps and you should be through;

1. Login at the OS level of the PI server using telnet

You can either use a tool like Putty or even from the simple command prompt to login to the PI server


2. Once you have successfully logged into the PI server, use the ping command and try to ping the target server


The above shows a successful connectivity.

3. In case Ping command is disabled, you can try the telnet command to the target server.


The above, once again shows a successful connection to the target server.

Note that you can also use the host names. In case you get an ‘unknown host’ error, then try to use the IP address of the target server. An alternative will also be to add the host name entry into the host file on the PI server and try again.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member


      since often it's difficult to get access to PI box at OS level, another smart trick is to use transaction ST06, Operating System Monitor, on ABAP stack. From there, you can click on 'Detail Analysis Menu' and then 'LAN Check by Ping': you can specify any IP address you want to try to PING, as well as the DB, AS and PS.



      Author's profile photo M. Dijsselbloem
      M. Dijsselbloem

      Only executing a ping to the target server is most of the time not very useful.

      Most of the time you will get a response from a ping, but that does not mean that you are also able to establish a connection to the target server..

      The best way to test if a connection can be established is using the telnet command. With this command you can check if the target system is "listening" on a particular protocol and if it passes through the firewall.

      So in case you are using an sftp scenario, you should execute a telnet <hostname or IP address> <port number of protocol that you use>

      In this case telnet testhost 22

      When you get the response: connection refused, you can be almost sure that either the firewall is blocking the connection, or the service on the target machine is down.

      The telnet command can easily be added in the ABAP stack via transaction SM69.

      Kind regards,

      Mark Dijsselbloem

      Author's profile photo Former Member
      Former Member


      THanks for the info.

      But we also can use below os level to check any services is running on the server or not using below command.

      niping -c -O -S <service name or port no> -H hostname.

      To check SFTP server connection we can use below command.

      sftp username@<ip address of external server>


      Abhijit Maiti