Dear
Do you have any entry like below in the D:\WINDOWS\system32\drivers\etc\services?
sapgw00 3300/tcp # SAP System Gateway Port
Have you given the entries such as Gateway host and Gateway port in your RFC (TCP/IP ) Connection.
The port number should be sapgw<inst.no> or 33<inst.no>.
check SAPOSS connectivity
Regards