Why TCP socket shows UNCONN state instead of LISTEN ?

Solution Verified - Updated -

Issue

  • TCP port is not showing in LISTEN state.
  • ss shows the TCP port in UNCONN state.

Environment

  • Red Hat Enterprise Linux 8.10 and above.
  • Red Hat Enterprise Linux 9.4 and above.
  • iproute2 v6.6.0 and above.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content