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
DID YOU KNOW ABOUT THIS IN WINDOWS? CONNECT TO YOUR ANDROID PHONE
Windows has quietly become an excellent companion to your Android phone. Thanks to Microsoft’s Phone Link app (formerly known as Your Phone), your PC can receive your mobile notifications, show your photos and messages, let you take calls, and even control media playback—without you lifting your phone. It’s brilliant for productivity and for keeping your […]
read more
CHATGPT USEFUL FEATURE: TEMPORARY CHAT
Everyday use of ChatGPT naturally trains you to think in threads. You ask a question, you get an answer, you refine the prompt, and the conversation accretes context. It’s one of the reasons ChatGPT feels more like a companion than a search box: it remembers what you said so it can respond appropriately next time […]
read more
