nginx error: (99: Cannot assign requested address)

前端 未结 8 1019
挽巷
挽巷 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条回答
  • For Amazon EC2 and elastic IPs, sysctl.conf will not work as nginx still not listen on eth0.

    So, you need to listen *;

    0 讨论(0)
  • 2020-12-24 12:54

    There might be remaining process/program that's using/listening at port 80.

    You can check that using netstat -lp. Kill that process and start nginx.

    0 讨论(0)
提交回复
热议问题