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


THE VALUE OF EMPLOYING VOIP SOLUTIONS TO THE SUCCESS OF TRANSPORT COMPANIES

THE VALUE OF EMPLOYING VOIP SOLUTIONS TO THE SUCCESS OF TRANSPORT COMPANIES

There’s one common misconception about VoIP that should be corrected: it’s not just for call centers. The range of services offered by providers like Telnum.net can also be helpful in other industries. No matter what the industry, great communication would always be valuable because generally, it allows enhanced efficiency and coordination among employees. But transport […]

read more
6 REASONS YOU NEED A PROFESSIONAL VIDEOGRAPHER FOR YOUR MARKETING CAMPAIGN

6 REASONS YOU NEED A PROFESSIONAL VIDEOGRAPHER FOR YOUR MARKETING CAMPAIGN

Are you planning to produce a business video for your next marketing campaign? According to Wyzowl statistics, 63% of businesses started using video content as an important part of their marketing strategy. As video is progressing quickly and reaching new heights, jumping on this trend can help improve ROI. Contents1 Should I Hire Professional Videographers?2 […]

read more

Subscribe

Receive the latest news and awesome deals via email

Like our Page

site auditing tools