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


5 TIPS TO BRANDING YOUR BUSINESS WITH THE RIGHT SIGNAGE

5 TIPS TO BRANDING YOUR BUSINESS WITH THE RIGHT SIGNAGE

When it comes to business success, there are many ways one can strategies to win clients and make better business success in the process. Apart from advertising your business on social media and even on the print and electronic media, you can gain more clients through the right kind of signage as a means of […]

read more
WHEN TO HIRE A WORKERS’ COMPENSATION ATTORNEY

WHEN TO HIRE A WORKERS’ COMPENSATION ATTORNEY

Work-related injuries can lower your productivity and put your finances at stake. Thus, when filing for a workers’ compensation claim, it is in your best interest to hire an attorney. Medical reports, insurance forms, and other complicated paperwork can be confusing to comb through and benefit you. An experienced lawyer can help you organize the […]

read more

Subscribe

Receive the latest news and awesome deals via email

Like our Page

Social Wall Social Wall

site auditing tools