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](https://cdn.businesslegions.com/blog/wp-content/uploads/2019/12/Business-Legions-HOW-TO-FIX-ERROR-99-CANNOT-ASSIGN-REQUESTED-ADDRESS-NGINX.jpg?strip=all&lossy=1&ssl=1)
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
![HOW TO INSTALL NPM NODE.JS IN VISUAL STUDIO CODE](https://cdn.businesslegions.com/blog/wp-content/uploads/2024/08/Business-Legions-HOW-TO-INSTALL-NPM-NODE.JS-IN-VISUAL-STUDIO-CODE.jpg?strip=all&lossy=1&ssl=1)
HOW TO INSTALL NPM NODE.JS IN VISUAL STUDIO CODE
When I first ventured into the world of web development, I stumbled upon Node.js and NPM. As I dig deeper, I realized these two tools were essential for building modern applications. In this section, I’ll unpack what Node.js is, why NPM is crucial, and share some common use cases that highlight the power of these […]
read more![HOW CAN INTERACTIVE MESSAGING TRANSFORM CUSTOMER COMMUNICATION?](https://cdn.businesslegions.com/blog/wp-content/uploads/2024/08/Business-Legions-HOW-CAN-INTERACTIVE-MESSAGING-TRANSFORM-CUSTOMER-COMMUNICATION_.jpg?strip=all&lossy=1&ssl=1)
HOW CAN INTERACTIVE MESSAGING TRANSFORM CUSTOMER COMMUNICATION?
Have you ever wondered how businesses can meaningfully improve their interactions with customers? Interactive messaging is revolutionizing customer communication, making it more engaging and effective. Let’s explore how two-way message marketing can transform how businesses connect with their audience. The Power of Two-Way SMS Marketing Two-way SMS marketing allows businesses to participate in real-time customer […]
read more