NGINX fails to start with Address family not supported by protocol

Solution Verified - Updated -

Issue

  • For Linux host, Here is the error:

    [emerg] socket() [::]:8080 failed (97: Address family not supported by protocol)
    [emerg] 1791#1791: socket() [::]:443 failed (97: Address family not supported by protocol)
    

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Software Collections (RHSCL)
  • NGINX Web Server

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