Page 1 of 1

nginx cannot assign required address server private IP

Posted: Tue Aug 09, 2016 12:21 pm
by vijaymani
nginx: [emerg] bind() to 123.123.123.123:80 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed


The server is on private ip and all traffic from 123.123.123.123 is forwarded to the ubuntu server

Content of /usr/local/vesta/data/ips/10.1.1.20

OWNER='admin'
STATUS='shared'
NAME=''
U_SYS_USERS='user1, user2, user3, user4, user5, user6'
U_WEB_DOMAINS='6'
INTERFACE='eth0'
NETMASK='255.255.255.0'
NAT='123.123.123.123'
TIME='23:05:02'
DATE='2016-06-25'

I am unable to find any traces of 123.123.123.123 on other files except for this. Removal of this IP and providing the private ip is still not fixing the issue.

Please help