an attempt was made to access a socket in a way forbbiden by its access permissions. why?

前端 未结 11 1227
北荒
北荒 2020-11-28 11:49
 private void StartReceivingData(string ipAddress, int iPort)
    {
        try
        {
            if (!_bContinueReciving)
            {
                //initia         


        
11条回答
  •  眼角桃花
    2020-11-28 12:01

    I ran into this in a Web App on Azure when attempting to connect to Blob Storage. The problem turned out to be that I had missed deploying a connection string for the blob storage so it was still pointing at the storage emulator. There must be some retry logic built into the client because I saw about 3 attempts. The /devstorageaccount1 here is a dead giveaway.

    Fixed by properly setting the connection string in Azure.

提交回复
热议问题