Translated message

A translation of this page exists in English.

listen ソケットでの v4-mapped-on-v6 アドレスの使用を確認する方法

Solution In Progress - Updated -

Issue

  • listen ソケットでの v4-mapped-on-v6 アドレスの使用を確認する方法はありますか?

たとえば、httpd は以下のように ipv6 アドレスを使用してリッスンします。

# netstat -antp | egrep "^Proto|:80"
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp6       0      0 :::80                   :::*                    LISTEN      3317/httpd          

ただし、v4-mapped-on-v6 アドレスであるため、ipv4 アドレスに接続できます。詳細は man IPV6(7) を参照してください。

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • httpd

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