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

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


        
11条回答
  •  独厮守ぢ
    2020-11-28 12:16

    IIS was the main offender for me. My ISS was running and it restrains any new socket connections from opening. The problem resolved for me by stopping IIS by running the command "iisreset -stop"

提交回复
热议问题