Score:0

How have I managed to start two netcat servers on the same port?

sn flag
dewi@dewiserver:~/code/dot-files/vpn$ s | grep  8889
tcp               LISTEN                 0                   1                                                                                          0.0.0.0:8889                                               0.0.0.0:*                     users:(("nc",pid=2997375,fd=3)) uid:1000 ino:40683621 sk:890 <->
tcp               LISTEN                 0                   1                                                                                          0.0.0.0:8889                                               0.0.0.0:*                     users:(("nc",pid=2997227,fd=3)) uid:1000 ino:40677127 sk:891 <->
dewi@dewiserver:~/code/dot-files/vpn$

I don't quite get what is going on. How was I permitted to start a process that listens to an inuse port?
thanks

jp flag
It uses SO_REUSEPORT
sn flag
@AlexD i learn something new every day. Thanks :)
us flag
dan
The source of your `s` might help to help.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.