Hi Fresh,
In a distributed environment you need to install SAP gateway instance on the DB host.
Then in the RFC destination SAPXPG_DBDEST_SAPSRVCEPDBLAN maintain the gateway host and gateway service.
Post this db13 should work fine.
Hope this helps.
Regards,
Deepak Kori