cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
If you’ve changed your email address, now's the perfect time to update it on your Dropbox account and we’re here to help! Learn more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can not connect to tcp server content_IP "162.125.5.8"

Can not connect to tcp server content_IP "162.125.5.8"

PavelBabak
New member | Level 2

I use ESP8266 module with Arduino Dropbox Manager library.  Previously, everything worked well. Yesterday I found that the client cannot establish a connection to the server. Communication with main_API "162.125.5.7" is successful. But communication with content_API "162.125.5.8" is unsuccessful. 

When trying from a PC ping to main_API "162.125.5.7" is 153 ms, ang pind to content_API "162.125.5.8" fails timeout.

 

I do not know where these addresses are taken from in the library.

Please help to solve the problem.

1 Reply 1

Greg-DB
Dropbox Staff

The Dropbox server IP addresses are subject to change, so you should never rely on hard-coded IP addresses. You should use the hostnames instead. For the main API servers, that's 'api.dropboxapi.com'. For the content API servers, that's 'content.dropboxapi.com'. (You can find the relevant hostname for each endpoint in the documentation.)

 

Please change your code to use the hostnames instead of hard-coded IP addresses.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?