Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Test connectivity to remote machine

Former Member
0 Likes
2,938

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,940

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?

4 REPLIES 4
Read only

Former Member
0 Likes
1,941

You might use sm49 to create a local command that you can execute to test a telnet.

Read only

0 Likes
1,940

Thanks. But does that work for interactive commands like Telnet as well?

Read only

0 Likes
1,940

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.

Read only

0 Likes
1,940

That's great, thanks!