HOW TO FIX ERROR 99 CANNOT ASSIGN REQUESTED ADDRESS NGINX

December 7, 2019   /   by Marco  / Categories :  Business, Technology, TIP AND TRICKS, Websites
Business Legions - HOW TO FIX ERROR 99 CANNOT ASSIGN REQUESTED ADDRESS NGINX

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

Business Legions - HOW TO FIX ERROR 99 CANNOT ASSIGN REQUESTED ADDRESS NGINX

server {
listen xx.xx.xx.xx:80;
server_name “”;
return 444;
}

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


EASY TYRE PRESSURE SENSOR RESET TUTORIAL | RENAULT KOLEOS & SIMILAR CARS

EASY TYRE PRESSURE SENSOR RESET TUTORIAL | RENAULT KOLEOS & SIMILAR CARS

If you have recently adjusted your tyres, topped up the air pressure, or seen a warning appear on your dashboard, knowing how to reset the tyre pressure monitoring system on a Renault Koleos can save you time and unnecessary worry. The process is quite straightforward once you know where to look in the vehicle menu, […]

read more

HOW TO USE GOOGLE WORKSPACE STUDIO FLOW IN GMAIL FOR SMART EMAIL AUTOMATION

Google keeps slipping new productivity features into Workspace, and sometimes the most useful ones are the tools you almost discover by accident while checking email. That is exactly the case with Studio Flow, a feature that has started appearing inside Gmail and wider Google Workspace environments, and it looks like Google is pushing further into […]

read more

Like our Page