In checking out these ports and processes in both the TCP view and resource monitor, I see that something just named “System” is using port 8008. I do not see anything using port 8009 and I do not see the swarm process in the list on either the Resource monitor or the TCP view. I have tried this both by running just the swarm agent and by doing an actual build in the editor.
In addition, I tried 4.9 and the 4.11 preview. Both of them gave me the same issue.