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 50000eventually establishes a connection, even without a second process inLISTENstate
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
- Process listening on high-numbered port and connecting over loopback interface
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
