Internal IP Address Changed
Internal IP Address Changed
Hi there, I changed the internal IP address in Vespa, because we migrated to a new Google Cloud instance, but the external address hasn't changed, and now nginx and apache2 aren't starting up and our websites aren't running.
I'm getting this error when I try to start nginx:
nginx: [emerg] bind() to 10.240.155.118:443 failed (99: Cannot assign requested address)
Which is our old IP.
Just wondering how I might go about fixing this.
I'm getting this error when I try to start nginx:
nginx: [emerg] bind() to 10.240.155.118:443 failed (99: Cannot assign requested address)
Which is our old IP.
Just wondering how I might go about fixing this.
Re: Internal IP Address Changed
It's simple.
Find please in /etc/apache2/conf.d/10.240.155.118.conf (or in /etc/httpd/conf.d/ for CentOS) and /etc/nginx/conf.d/10.240.155.118.conf
Move these files to your home directory (or delete).
After that restart nginx and apache2 (httpd in CentOS)
Find please in /etc/apache2/conf.d/10.240.155.118.conf (or in /etc/httpd/conf.d/ for CentOS) and /etc/nginx/conf.d/10.240.155.118.conf
Move these files to your home directory (or delete).
After that restart nginx and apache2 (httpd in CentOS)
Re: Internal IP Address Changed
And check your old IP in this forder - /usr/local/vesta/data/ips/