Updated on 2023-11-28 GMT+08:00

Nginx Gets Restarted Repeatedly

Symptoms

An error message containing Address already in use is displayed.

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

Cause Analysis

Nginx has been started and the port has been occupied.

Solution

Deploy the action for stopping Nginx and restart it.

Starting or Stopping Nginx FAQs

more