Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2008
    Posts
    273

    Unhappy 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.

  2. #2
    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
    Joe
    UNIXy - 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

  1. Nginx + vBulletin Problem!
    By XfrostX in forum Hosting Security and Technology
    Replies: 2
    Last Post: 09-19-2009, 01:23 PM
  2. nginx installation
    By alienmare in forum Systems Management Requests
    Replies: 5
    Last Post: 07-15-2009, 05:45 PM
  3. Nginx, help needed
    By AndiV74 in forum Hosting Software and Control Panels
    Replies: 3
    Last Post: 07-11-2009, 08:45 PM
  4. nginx optimization?
    By vigge_sWe in forum Hosting Security and Technology
    Replies: 9
    Last Post: 05-24-2009, 02:27 PM
  5. Anybody using nginx (httpd)?
    By ub3r in forum Hosting Security and Technology
    Replies: 4
    Last Post: 05-11-2007, 03:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •