Results 1 to 2 of 2
Thread: Nginx problem IP
-
11-26-2009, 09:34 PM #1Temporarily Suspended
- Join Date
- Jul 2008
- Posts
- 273
Nginx problem IP
Hello, I do not know if this is the correct area, if not this already peopl excuses.
The problem is that my server was functioning normally with nginx, and after the change of ip it stopped working, if someone can help me thank you.
When you run the command by:
sudo /etc/init.d/nginx start
the following message appears.
*************************
root@n1 [~]# the configuration file /usr/local/nginx/conf/nginx.conf syntax is o
k
[emerg]: bind() to 'my old ip':80 failed (99: Cannot assign requested address
)
configuration file /usr/local/nginx/conf/nginx.conf test failed
******************
this showing my old ip still where I should change to my new ip ?
I thank you for your attention.
-
11-26-2009, 09:41 PM #2Corporate Member
- Join Date
- Feb 2008
- Location
- Houston, Texas, USA
- Posts
- 3,262
The IP should be listed in the nginx.conf file in directory /usr/local/nginx/conf. The IP is in section server {} with the directive "listen". Replace it with your new IP.
Regards
JoeUNIXy - Fully Managed Servers and Clusters - Established in 2006
Server Management - Unlimited Servers. Unlimited Requests. One Plan!
cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy
Similar Threads
-
Nginx + vBulletin Problem!
By XfrostX in forum Hosting Security and TechnologyReplies: 2Last Post: 09-19-2009, 01:23 PM -
nginx installation
By alienmare in forum Systems Management RequestsReplies: 5Last Post: 07-15-2009, 05:45 PM -
Nginx, help needed
By AndiV74 in forum Hosting Software and Control PanelsReplies: 3Last Post: 07-11-2009, 08:45 PM -
nginx optimization?
By vigge_sWe in forum Hosting Security and TechnologyReplies: 9Last Post: 05-24-2009, 02:27 PM -
Anybody using nginx (httpd)?
By ub3r in forum Hosting Security and TechnologyReplies: 4Last Post: 05-11-2007, 03:21 PM