nginx - nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

前端 未结 18 1364
醉酒成梦
醉酒成梦 2020-11-28 17:36

All of a sudden I am getting the below nginx error

 * Restarting nginx
 * Stopping nginx nginx
   ...done.
 * Starting nginx nginx
nginx: [emerg] bind() to [         


        
18条回答
  •  一向
    一向 (楼主)
    2020-11-28 18:09

    I had this error on AWS Lightsail, used the top answer above

    from

    listen [::]:80;
    

    to

    listen [::]:80 ipv6only=on default_server;
    

    and then click on "reboot" button inside my AWS account, I have main server Apache and Nginx as proxy.

提交回复
热议问题