nginx error: (99: Cannot assign requested address)

前端 未结 8 1035
挽巷
挽巷 2020-12-24 11:52

I am running Ubuntu Hardy 8.04 and nginx 0.7.65, and when I try starting my nginx server:

$ sudo /etc/init.d/nginx start

I get the followin

8条回答
  •  误落风尘
    2020-12-24 12:43

    To avoid hard-coding the IP address in the config, do this:

    listen *:80;
    listen [::]:80;
    

提交回复
热议问题