|If you're trying to start nginx, but it throws this error:|
Starting nginx: nginx: [emerg] bind() to 188.8.131.52:80 failed (99: Cannot assign requested address) [FAILED]it would likely mean that the IP in question does not exist in your device. Type the following to see which IPs are in your device:
/sbin/ifconfigIf your network was restarted, type:
service startips start
If, for whatever reason, the IPs cannot be loaded into the device but you must still have that IP in the nginx config, then you can set:
net.ipv4.ip_nonlocal_bind = 1into your /etc/sysctl.conf file, and reboot.
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST