-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change we change the default port 3300 in the connection parameter #146
Comments
By looking other closed issues I understand the port range can be between 00-99 (using sysnr). But I am looking some other high range port like 17309 (example). |
The standard reverse proxy can't redirect SAP NWRFC protocol, you need saprouter. |
Hi @bsrdjan - Sorry if I misunderstood your answer. My question is within node-rfc library, is there any way I can customize the PORT number (say 17309) before making an RFC call to ABAP server. From sysnr field the PORT can vary from 3300-3399 but is there any possibility to have a customize port (not in above range). Cheers, |
Sorry for misunderstanding. The port can be changed in connection parameters, there is a PORT parameter. The parameters are documented in |
Thanks @bsrdjan. But unfortunately for me it is not working. I am using Windows where I have updated this file My connection parameters are:
Below error which I am getting - Still the request is going to 3399 port but not to 17309 (which was configured in services file)
Thanks, |
If If the error message regarding 3399 still occurs, there could be two reasons:
If none of this helps, try instead of |
Thanks @bsrdjan for your help. |
I can't change the connection string that is a parameter(gwserv ). Is there any way to do this? I have tried to do it by changing it to etc/services file sapdp70 3600/tcp, but it's not working for me. |
Hello @vishalshingate, connection parameters depend on ABAP backend system configuration. in SAP NW RFC SDK include folder there is |
Hello,
My ABAP system has RFC port 3300 open but to secure this we have set up a reverse proxy by which we are routing all the traffic from xxxx port to 3300. I need to know can we change the default port to xxxx so that from outside when we call RFC FM it should work.
Locally when I execute Node-RFC with default host everything works fine but with the proxy rule it didn't.
{ "alive": true, "name": "RfcLibError", "code": 1, "codeString": "RFC_COMMUNICATION_FAILURE", "key": "RFC_COMMUNICATION_FAILURE", "message": "\nLOCATION CPIC (TCP/IP) on local host with Unicode\nERROR partner '0.tcp.ngrok.io:3300' not reached\nTIME Wed May 27 21:38:01 2020\nRELEASE 753\nCOMPONENT NI (network interface)\nVERSION 40\nRC -10\nMODULE D:/depot/bas/753_REL/src/base/ni/nixxi.cpp\nLINE 3449\nDETAIL NiPConnect2: 3.137.63.131:3300\nSYSTEM CALL connect\nERRNO 10060\nERRNO TEXT WSAETIMEDOUT: Connection timed out\nCOUNTER 3" }
My connection parameters are below but seems like there is no parameter called PORT hence giving above error:
// ABAP system RFC connection parameters const abapSystem = { ..... ashost: "0.tcp.ngrok.io", port: "17309", .... };
The text was updated successfully, but these errors were encountered: