Port 5009 on Airport Devices

I have read protocol used by airport express and airport utility by LaPastenague .


In my case, the listener on port 5009 does not work, but the TC/Airport is up and pingable. Looking at Wireshark captures for the specific Airport, I can see TCP on 5009, which gets no response from the AP. If reboot the AP, the 5009 listener comes up properly.


  • Is it possible to restart the listener on 5009, without rebooting the AP?
  • Are there known reasons for the listener to stop working?
  • I assume the security issues alluded to in older posts have been mitigated by newer firmware versions. I use 7.x on most of my AP devices. Mix is 802.11ac and 802.11n dual-band, with the exception of a separate 2.4G WiFi for a specific application on a separate SSID.

MacBook Pro, macOS Sierra (10.12.6), ( - 2016, 2013, 2012, 2010, 2008)

Posted on Apr 21, 2018 8:29 AM

Reply

Similar questions

13 replies

Apr 21, 2018 12:51 PM in response to Loner T

Is it possible to restart the listener on 5009, without rebooting the AP?

Not by any means Apple has given you, because that means you have no access to the TC controls at all. But did you try a soft reset??


Are there known reasons for the listener to stop working?

None that I can think of.. once it is off it will prevent any access at all. A firmware upgrade won't do that.


I assume the security issues alluded to in older posts have been mitigated by newer firmware versions.

When Apple discover a security hole they patch the firmware. Any firmware security update should fix that issue plus any outstanding that have not yet been fixed. Of course Apple do not release a whole lot of info about what they do.

If any particular update is so important as to make it essential to security the NVRAM setting is altered to change the min firmware level.

The latest update for example to 7.6.9 or 7.7.9 depending on the series is still reversible. In fact in the Gen 4 TC the list of firmware is still very long. So Apple still consider the security ok.. even if some particular issue is not fixed. So the latest one fixed the issue with KRACK but it is so specific that upgrade is not essential and lots of people do downgrade for various reasons.


Sorry to say but I think a TC where the control port has failed needs replacement. There is no repair method.

As per usual, if you are in warranty or have applecare or applecare still possible and the TC is less than 2 years old.. get Apple to replace it.

Email me directly and I can help you get console access maybe. rayhav@gmail.com

You might be able to get access to the errors and find out if something has failed.. but it will not tell you why.. nor will it fix the problem.. although you might be able to restart the daemon without actual power cycle.


How old is the TC that goes bad?

How long does it take for the TC to fail after a reboot?


The normal process I would try would be a

1. Factory reset

2. Firmware downgrade

3. Factory reset again

4. Reconfigure using tight SMB rules.


If you get no improvement after doing that then you can pretty much sure it is going to need replacement.

Apr 21, 2018 7:41 PM in response to Loner T

Port 5009 goes away perhaps once every 2-3 weeks

Ok that is not as serious as I was thinking.. I was thinking it happened daily.


Honestly I think the Airports are no where near as reliable as they used to be and a reboot every 3 weeks or so is not really that serious.

Anyway .. with SSH access you might be able to do something to help it out.. even if it is simply a remote reboot.

Apr 21, 2018 3:29 PM in response to LaPastenague

Thanks for your insight. The 4 TCacs are refurbished units which are about 1-2 years old. I had taken one of them to the Genius bar, where they could not duplicate the issue. Port 5009 goes away perhaps once every 2-3 weeks, on two of the four units, but a reboot brings it back, till the next time. The physical ports seem to work well.


The strange part is Airport Utility says it is not on the network, but clients connected to the TCac have no issues. The DHCP and Router/Gateway is upstream from these units which operate in Bridge mode.


I sent you an email as well, thanks.

Apr 21, 2018 8:11 PM in response to Loner T

Another puzzle if you are using a Time Capsule for Time Machine backups......and you have the time.....


Hold down the Shift key while you click on the Time Machine "clock" icon at the top of the Mac's screen.


You will see an option to Backup With Consistency Scan, which I think is the same thing as running Verify Backups and then running a normal backup. The genius at the Apple Store was amazed when I showed him this, since he could not find anything in his Apple documentation that mentioned anything about this "procedure".

Apr 21, 2018 2:11 PM in response to Loner T

FWIW, I came up with the following list of "listening" ports when testing my 802.11n / 802.11ac base stations (Extremes and TCs), using nMap:


  • TCP 22 open [TCac ssh, OpenSSH 5.9 (NetBSD 20110907-hpn13v11-lpk; protocol 2.0) - nMap]
  • TCP 22 open [TCn ssh, OpenSSH 4.4 (NetBSD 20061114; protocol 1.99) - nMap]
  • TCP 139 open [TC netbios-ssn - nMap]
  • TCP 445 open [TC microsoft-ds, Apple Time Capsule smbd - nMap]
  • TCP 548 open [TC afp, Apple Time Capsule AFP (name: tc; protocol 3.3) - nMap]
  • TCP 5009 open [AEBS, TC airport-admin, Apple AirPort or Time Capsule admin - nMap]
  • TCP 9000 open [AEBS, TC, AX jetdirect - nMap]
  • TCP 10000 open [AEBS, TC snet-sensor-mgmt - nMap]
  • UDP 137 open [TC netbios-ns, Samba nmdb netbios-ns (workgroup: lp) - nMap]
  • UDP 138 open|filtered [TC tcpwrapped - nMap]
  • UDP 192 open|filtered [AEBS, TC tcpwrapped - nMap]
  • UDP 514 open|filtered [AEBS, TC tcpwrapped - nMap]
  • UDP 5001 open|filtered [TC tcpwrapped - nMap]
  • UDP 5353 open [AEBS, TC mdns, DNS-based service discovery - nMap]

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Port 5009 on Airport Devices

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.