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

A SMALL BUTTON, A BIG MILESTONE: MY FIRST SUPER THANKS
Every creator has milestones that feel both modest and momentous. Your first upload. Your first comment. Your first subscriber. And then one day, among the usual notifications, a new one pops up: your first Super Thanks. Mine came from a generous viewer, Frank Castlenut, who left a donation of five dollars alongside a kind note. […]
read more
NEW RUNNING BELT ON TEST: FIRST IMPRESSIONS AND HONEST THOUGHTS
There’s a special kind of anticipation that comes with unboxing fresh kit, especially something as personal as a running belt. It’s the bit of gear that sits closest to you on every run, carrying your phone, keys, gels and—in this case—a water bottle, all while ideally disappearing from your awareness once you’re moving. Today’s subject […]
read more