We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
PavelBabak
5 years agoNew member | Level 2
Can not connect to tcp server content_IP "162.125.5.8"
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
- Greg-DB5 years ago
Dropbox Community Moderator
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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 2 days ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!