function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sony sonusony sonu 

How to find the Port number for my Salesforce instance

Hello Folks,

As am doing an integration with SAP which is hosted on local server, Netowrk team asking me about IP's and Port's.
Already provided IP Addresses but not able to provide Port numbers. So how can i know the port number for my instance( https://ap5.salesforce.com )

Your help is higly appreciated, Thanks in advance.
NagendraNagendra (Salesforce Developers) 
Hi,

Sorry for this issue you are encountering.

URL class will help you.

Please refer to: Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
sony sonusony sonu
hi,, nagendra... do you have any other solution for that  i need a simple solution to access the salesforce...
sony sonusony sonu
 hi narendra....can we use....middleware in this ????