<div class="zcontentRow"> <p><span style="font-family: 宋体, 'Microsoft Yahei', Arial, 'Lucida Grande', Verdana, Lucida, Helvetica, sans-serif; line-height: 20px; background-color: rgb(255, 255, 255);">Hi,<br></span></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; min-height: 14px; font-family: 宋体, 'Microsoft Yahei', Arial, 'Lucida Grande', Verdana, Lucida, Helvetica, sans-serif; line-height: 20px; white-space: normal; outline: none !important; background-color: rgb(255, 255, 255);"><br style="box-sizing: border-box; outline: none !important;"></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; min-height: 14px; font-family: 宋体, 'Microsoft Yahei', Arial, 'Lucida Grande', Verdana, Lucida, Helvetica, sans-serif; line-height: 20px; white-space: normal; outline: none !important; background-color: rgb(255, 255, 255);"><span style="font-family: 'times new roman';">I observe that the nginx runs with no error if there are duplicate listen ports configured in the http server block or stream server block.</span></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; min-height: 14px; font-family: 宋体, 'Microsoft Yahei', Arial, 'Lucida Grande', Verdana, Lucida, Helvetica, sans-serif; line-height: 20px; white-space: normal; outline: none !important; background-color: rgb(255, 255, 255);"><span style="font-family: 'times new roman';">is this behavior as expected? and if a request comes at such a port, which server would serve this request, by radomly or round-robin?</span></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; min-height: 14px; font-family: 宋体, 'Microsoft Yahei', Arial, 'Lucida Grande', Verdana, Lucida, Helvetica, sans-serif; line-height: 20px; white-space: normal; outline: none !important; background-color: rgb(255, 255, 255);"><br style="box-sizing: border-box; outline: none !important;"></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; min-height: 14px; font-family: 宋体, 'Microsoft Yahei', Arial, 'Lucida Grande', Verdana, Lucida, Helvetica, sans-serif; line-height: 20px; white-space: normal; outline: none !important; background-color: rgb(255, 255, 255);"><span style="font-family: 'times new roman';">Thanks,</span></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; min-height: 14px; font-family: 宋体, 'Microsoft Yahei', Arial, 'Lucida Grande', Verdana, Lucida, Helvetica, sans-serif; line-height: 20px; white-space: normal; outline: none !important; background-color: rgb(255, 255, 255);"><span style="font-family: 'times new roman';">Joe</span></p><span style="line-height: normal; widows: 1; font-size: 7.0px;;color:#58595b;font-size:10px"></span></div>