Nginx Server with Two network Card

Hi All,

Server has installed with Nginx with one NIC and later on we add another
NIC. we can use SSH or any other service to connect to the server with
new IP address (New NIC). But I am not able to connect to the port
define for Nginx server.

I am not able to telnet to the port with new IP.

Our application run on torqubox.

Here is my default.conf file

server {
listen 10000;
server_name default;
underscores_in_headers on;
location / {
access_log off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

Server: Ubuntu x86_64 x86_64 x86_64 GNU/Linux
Nginx: nginx version: nginx/1.4.1 (Ubuntu)

Any Idea why Nginx not accept connections from new IP?

Have you tried to ‘reload’ the server by sending SIGHUP to the master
process? Or if this is not enough try upgrading it on the fly or restart
(stop/start) it.

Nginx, as any process, cannot detect system changes such as this ones on
its own…
If you modiify your hardware environment, you need to ‘refresh’ all your
process based on the new one.

B. R.