Application establishes a socket connection to itself if run many times
Issue
- Application establishes a socket connection to itself if run many times
- system auto establish connection to local port
- Writing an application which connects to a high-numbered ephemeral port over the loopback eventually results in that application establishing a socket connection to itself
- Repeatedly running
nc localhost 50000
eventually establishes a connection, even without a second process inLISTEN
state
Environment
- Red Hat Enterprise Linux (all versions)
- Process listening on high-numbered port and connecting over loopback interface
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.