Print this page

Run a ping and traceroute to Salesforce

Knowledge Article Number 000025283
Description If you're trying to connect to Salesforce and are having problems with slowness or latency, we'll show you how to run a Ping test and Traceroute to find out where the slowness is coming from. 
Resolution

Microsoft Windows 

1. On the Windows taskbar, click the Start button | select Run.
2. Type cmd in the text box.
3. Click OK. A DOS window will appear.
4. In the DOS window, type
tracert login.salesforce.com >> c:\tracert.txt
and press Enter. Then for a Ping test, type
ping -n 100 login.salesforce.com >> c:\ping.txt
and press Enter, which will send 100 echo requests to login.salesforce.com

Repeat step 4 replacing the URL with your instance. For example,

tracert na1.salesforce.com >> c:\tracert.txt
ping na1.salesforce.com >> c:\ping.txt

After you've completed this process, locate the text file on your C:\ drive and attach it to the reply email you send to Salesforce support. You'll also want to include who your Internet Service Provider is, and any reason they've provided you for latency.

Mac OS

Mac OS X comes with a traceroute function that can be accessed via command line using the Terminal and via GUI with the Network Utility application that ships with every version of the Mac OS.
 

Traceroute using Terminal.app

  1. Open a terminal session using Terminal.app.
  2. Run these traceroute commands:
  3. Cut and paste the results into the reply e-mail.  

Traceroute using Network Utility 

  1. Open Network Utility.app, located in the Utilities folder.
  2. Click Traceroute.
  3. Enter www.salesforce.com or yourinstance.salesforce.com.
  4. Click Trace.
  5. Cut and paste the results into the reply e-mail.

Once this data is received, the data will be analyzed thoroughly. Salesforce will do its best to help you to solve the performance issue.

Note: To run a traceroute on your Live Agent server, use the above steps, but instead of pointing to the Salesforce instance URL, point to your Live Agent server. You can find your Live Agent server by going to Setup and typing "Live Agent Settings" in Quick Find. You will see an endpoint URL that looks similar to "https://d.la1w1.salesforceliveagent.com/chat/rest/". Remove "/chat/rest/" and run a traceroute on just "https://d.la1w1.salesforceliveagent.com". Keep in mind, your endpoint URL may vary from the example mentioned.





promote demote