2016年2月21日日曜日

メモ:nginxで80 failed (97: Address family not supported by protocol)が出る。

nginxを使っていて、80 failed (97: Address family not supported by protocol)とでて起動しないことがあります。
その場合、/etc/nginx/nginx.confにある

    server {
        listen       80 default_server;
#        listen       [::]:80 default_server;

のように、IPv6のところをコメントアウトすると起動するようになります。



0 件のコメント:

コメントを投稿