on 01-15-2008 2:38 PM
Hello together,
recently we were facing some issues when configuring JDBC receiver adapters or if we wanted to connect to systems for a lookup in UDF because of firewall issues.
Is there a simple way to ping a certaing IP and Port from within XI to check whether the firewall is open between SAP XI and the according backend system? We do not have an OS user for the system to execute a ping on operating system level. Thank you for your advice.
Hello,
thank you for posting the java code. Unfortunately this does not help to much as I have to test the connection to a specific port.
Actually it is a connection to a LDAP system which is listening on a specific port.
We tried to connect via telnet on SM49 this this port and connection was refused. This sounds like a firewall issue......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is a T-code for it.
SM49 then click on ping where in additional parameter you can put server or port to check.
Do this and revert if any query.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
well the problem ist that we sometimes connect directly to a backend system from an UDF and in case of debugging it would be very helpful to ping the backend system first to make sure that there is no firewall blocking the access.
We often had the case the we were searching for errors in the UDF however at the end it was just an firewall issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Florian,
Create a udf and try this.....not sure..might do the trick
import java.net.*;
public class Ping {
public static void main(String args[]) {
try {
InetAddress address = InetAddress.getByName("QUALIFIEDHOSTNAME");
System.out.println("Name: " + address.getHostName());
System.out.println("Addr: " + address.getHostAddress());
System.out.println("Reach: " + address.isReachable(3000));
}
catch (UnknownHostException e) {
System.err.println("Unable to lookup QUALIFIEDHOSTNAME");
}
catch (IOException e) {
System.err.println("Unable to reach QUALIFIEDHOSTNAME");
}
}
}
Regards
Ravi Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
IF you are able to ping manually go to the back end systems by logging on to XI directly, I think that would be suffiicient to know if XI is able to reach the other systems or not..
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.