2015 Feb 03 12:25 PM
I have created a web service consumer proxy to call a web service on a remote host from our SAP machine. However, ICF in SAP tells me that the connection to that remote host has been refused, so there might be a problem with firewall in between.
To check that I would need to make a test-connection from the SAP host to the remote machine, on a specific TCP port. Usually I would do that via telnet on the shell, but I do not have a shell access to the SAP machine.
So my question: Is there a way within SAP to test the connection to a specific port on a remote host?
2015 Feb 04 10:23 AM
You might use sm49 to create a local command that you can execute to test a telnet.
I have created a web service consumer proxy to call a web service on a remote host from our SAP machine. However, ICF in SAP tells me that the connection to that remote host has been refused, so there might be a problem with firewall in between.
To check that I would need to make a test-connection from the SAP host to the remote machine, on a specific TCP port. Usually I would do that via telnet on the shell, but I do not have a shell access to the SAP machine.
So my question: Is there a way within SAP to test the connection to a specific port on a remote host?
2015 Feb 04 10:23 AM
You might use sm49 to create a local command that you can execute to test a telnet.
2015 Feb 04 11:06 AM
Thanks. But does that work for interactive commands like Telnet as well?
2015 Feb 04 12:12 PM
Hi,
yes works fine.
If the port is closed
Trying... telnet: connect: A remote host refused an attempted connect operation. External program terminated with exit code
If the Port is open
Trying... Connected to 127.0.0.1. Escape character is '^]'. Connection closed.
2015 Feb 04 1:32 PM