Azure Speech To Text Java Client SDK problem

Tomasz Markiewicz 21 Reputation points


I have problems running samples from client-sdk (, on my corporate network. On my private network everything works fine so I suspect that websocket port might be blocked. What is default port used by websocket connection in Java SDK? In sdk log file I could only find url (port not mentioned at all): 'wss://'

I assume that it does not use 80/443 as my admin claims those port should work without any problems. Thanks in advance!


Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,474 questions
0 comments No comments
{count} votes

Accepted answer
  1. romungi-MSFT 43,366 Reputation points Microsoft Employee

    @Tomasz Markiewicz The SDK is designed to actually create a HTTPS connection and then upgrade to a websocket connection to *
    Please refer to this thread for more details on this implementation.

    Since you are using a corporate network do you have to set a proxy connection? You can do this using the SpeechConfig.setProxy() method.

    Also, The client SDK will need access to the Azure CRL / OCSP distribution points.

    The location of these is listed here:

    Please don't forgot to click on accept it as answer button 130236-image.png wherever the information provided helps you. This can be beneficial to other community members as well.

    0 comments No comments

0 additional answers

Sort by: Most helpful