Welcome! Log In Create A New Profile

Advanced

Re: how to configure multiple virtual server on nginx?

Maxim Dounin
July 27, 2011 03:22AM
Hello!

On Tue, Jul 26, 2011 at 10:06:12PM -0400, debugger87 wrote:

> Hi,all
> Pardon please,I'm not an English native speaker.So,I may make mistake in
> grammar.
> I have 4 IP address on my ubuntu server computer.For the convenience to
> ditinguish them ,I name them as IP-1,IP-2,IP-3 and IP-4.
> Now,I configure 3 virtual servers on nginx.The key content of
> configuration is following.

[...]

> In my opinion,those 3 virtual servers can wholely work right.But I met a
> very surprising problem:the 1st and 2nd server can work
> right,nevertheless,the third virtual server can not access.I look over
> nginx.conf,and never find out any configuration mistake.Then,I change
> the 3rd server's LISTEN IP address IP-3 to IP-2,and change the 2nd
> server's LISTEN IP address IP-2 to IP-3.Oh my god,the 2nd server can not
> access,but the 3rd can.I just exchange their LISTEN IP address.If you
> have understood my problem description,would you please give me some
> good suggestion?

From your description it looks like the problem lies somewhere
outside of nginx, e.g. your firewall preventing you from accessing
IP-3.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

how to configure multiple virtual server on nginx?

debugger87 July 26, 2011 10:06PM

Re: how to configure multiple virtual server on nginx?

debugger87 July 26, 2011 10:21PM

Re: how to configure multiple virtual server on nginx?

debugger87 July 26, 2011 10:23PM

Re: how to configure multiple virtual server on nginx?

Maxim Dounin July 27, 2011 03:22AM

Re: how to configure multiple virtual server on nginx?

debugger87 July 27, 2011 04:58AM

Re: how to configure multiple virtual server on nginx?

Igor Sysoev July 27, 2011 05:04AM

Re: how to configure multiple virtual server on nginx?

debugger87 July 27, 2011 06:03AM

Re: how to configure multiple virtual server on nginx?

Igor Sysoev July 27, 2011 06:14AM

Re: how to configure multiple virtual server on nginx?

Maxim Dounin July 27, 2011 06:28AM

Re: how to configure multiple virtual server on nginx?

debugger87 July 27, 2011 09:27PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready