cancel
Showing results for 
Search instead for 
Did you mean: 

Exception when trying to connect to SAP with SAP .NET Connector 3.0

former_member767549
Discoverer
887

I'm trying to establish a connection to SAP but I get the following error message:

LOCATION    CPIC (TCP/IP) on local host xxx with Unicode
ERROR       partner '127.0.0.1:3300' not reached
TIME        Mon Sep 20 13:12:16 2021
RELEASE     721
COMPONENT   NI (network interface)
VERSION     40
RC          -10
MODULE      nixxi.cpp
LINE        3289
DETAIL      NiPConnect2: 127.0.0.1:3300
SYSTEM CALL connect
ERRNO       10061
ERRNO TEXT  WSAECONNREFUSED: Connection refused
COUNTER     2

Additional information:

  • Server IP address is correct because I can log in via the GUI.
  • The SAP server runs on Virtualbox (Linux Mint).
  • Port forwarding rule:

I suspect the port number 3300 is wrong. How can I solve this problem?

View Entire Topic
Isaías
Product and Topic Expert
Product and Topic Expert

Hello,

The port 3200 is for SAP GUI access.

The port 3300 is for RFC access (e.g., your .Net Connector).

Maybe you need to add a port forwarding rule for port 3300 too ;-).

Regards,

Isaías

former_member767549
Discoverer
0 Kudos

Thank you!

Isaías
Product and Topic Expert
Product and Topic Expert
0 Kudos

You are welcome 🙂

Pebz
Discoverer
0 Kudos
Thank you sooo much! For me, this is the solution for the Screen Painter not opening, you have made my day!
Isaías
Product and Topic Expert
Product and Topic Expert
0 Kudos
You are welcome, @Pebz!