HOW TO FIX ERROR 99 CANNOT ASSIGN REQUESTED ADDRESS NGINX
December 7, 2019 / by Marco / Categories : Business, Technology, TIP AND TRICKS, Websites
I recently received this error message when I manually started my VestaCP Nginx service:
99: Cannot assign requested address nginx: configuration file /etc/nginx/nginx.conf test failed
I tried searching for a solution on Google but none of them helped. After some digging around, I managed to work out what the issue was. A few weeks ago the hosting provider changed the IP address of the VPS. I ended up changing the VestaCP IP address and also all the websites IP addresses. What I didn’t change was the IP address in the nginx config file (who would have thought to do that?).
The file that needed to be changed was /home/admin/conf/web/nginx.conf

server {
listen xx.xx.xx.xx:80;
server_name “”;
return 444;
}
OTHER ARTICLES YOU MAY LIKE
REVIEWING AND UNBOXING THE TOOCKI USB-C RIGHT ANGLE 1.2M CABLE
USB C cables are among the most ordinary accessories we own, yet they can make a surprisingly noticeable difference to how comfortable our devices are to use while charging. The Toocki USB C right angle cable is a good example of a simple accessory that tries to solve a very common irritation, because instead of […]
read more
QUICK FIX TO CHANGE THE MAX SELL POWER TO LESS THAN 500W ON THE DEYE INVERTER
There are many reasons a home owner or installer might want to place a tight cap on how much solar power is exported to the public grid. Some households live under a strict export cap imposed by their local distribution network operator, others want to reduce export to focus on self consumption and battery charging, […]
read more
