Skip to main content
October 19, 2015
Question

Port binding on 80!

  • October 19, 2015
  • 1 reply
  • 586 views

I've recently been put into a support role for an AMS server running on windows (two things not in my wheel house) and had to upgrade the server to from 4.5 to 5.

I've been experiencing port binding issues on port 80 since upgrading from FMS 4.5 to AMS 5 standard license. 443 works fine.

I've configured ams.ini  to use port 1935 and dropped 80 so apache and AMSEdge won't conflict.

ADAPTOR.HOSTPORT = :1935

I no longer see the AMSEdge process connection on port 80 but nonetheless, 80 continues to bind.

Other and possibly related: whenever the AMSHttpd process restarts error log shows 2 errors:

The Apache service named

reported the following error: >>>

[Mon Oct 19 11:40:49.758505 2015] [core:info] [pid 24856:tid 532] C:/Program Files/Adobe/Adobe Media Server 5/Apache2.4/conf/AMF_to_Id3_Mapping.xml


The Apache service named

reported the following error:

[Mon Oct 19 11:40:49.770224 2015] [core:info] [pid 24856:tid 532] mod_jithttp - AMS installation path: "C:/Program Files/Adobe/Adobe Media Server 5/"

Any words of wisdom, would be very appreciated.

    This topic has been closed for replies.

    1 reply

    Participant
    October 28, 2015

    My problem was not port binding from another process though the symptoms were the same. It wasn't until a large number of 443 connections were also refused that I realized the problem.  It looks like there is a bug with Apache 2.4 where enabling OS specific optimizations for a listening socket (happens by default in Apache 2.4) can cause just this behavior. FYI, I'm running Windows Server 2008.

    When the 443 connections were refused I saw these logs:

    [Thu Oct 22 11:57:56.492100 2015] [mpm_winnt:warn] [pid 26228:tid 3188] (OS 64)The specified network name is no longer available.  : AH00341: winnt_accept: Asynchronous AcceptEx failed.

    [Thu Oct 22 12:42:12.982777 2015] [ssl:info] [pid 26228:tid 2680] [client 11.111.111.11:51203] AH01964: Connection to child 244 established (server: servername:443)

    [Thu Oct 22 12:42:12.991566 2015] [ssl:info] [pid 26228:tid 2688] [client 11.111.111.11:51229] AH01998: Connection closed to child 245 with abortive shutdown (server servername:443)


    Which eventually led me here:

    https://httpd.apache.org/docs/2.4/mod/core.html

    Solution, add this to your httpd.conf

    AcceptFilter http none

    AcceptFilter https none