ms translator web api connect timed out in azure server, but it performs normal on PC

96074769 5 Reputation points

The API address is

I use java,theoretically its performs on PC should be the same as the azure server

It performs normal on PC, i up my app to azure server, and run it, Okhttp3 has a timeout error

I use curl in azure server, but it has been stuck here

 curl -v
*   Trying

My translator API firewall setting is All networks mode

How to solve this problem?

Azure Translator
Azure Translator
An Azure service to easily conduct machine translation with a simple REST API call.
300 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sedat SALMAN 10,340 Reputation points

    The problem appears to be related to the connection between your Azure server and the Microsoft Translator API endpoint.

    • Check Azure server has internet connectivity
    • Check the firewall and security settings for API and Azure Server