how to configure multiple virtual server on nginx?

debugger87 nginx-forum at nginx.us
Thu Jul 28 01:27:22 UTC 2011


Maxim Dounin Wrote:
-------------------------------------------------------
> Hello!
> 
> On Wed, Jul 27, 2011 at 04:58:14AM -0400,
> debugger87 wrote:
> 
> > Thank you,Maxim Dounin.
> > I also think that the problem is outside of
> nginx.But I'm confused why
> > IP-1 and IP-2 work,IP-3 don't.
> > On my computer,IP-1:8080,IP-2:8080,IP-3:8080 and
> IP-4:8080 are LISTENED
> > by tomcat application server.
> > I can access my tomcat by the whole IP
> address.It looks like a
> > contradiction that I can access tomcat via
> IP-3:8080,
> > and I can not access nginx via IP-3:80.It's very
> terrible!
> 
> Try setting something else to listen on IP-3:80
> (e.g. "nc -l IP-3 80") 
> and check if you are able to reach it.
> 
> Maxim Dounin
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

Thank you,Maxim Dounin.
I  check the IP-3:80 in something else(e.g. apache2),and I found that I
can not reach the apache2 via IP-3:80.
Obviously,the true problem lies in the special IP address IP-3.So,I
should not spend more time in nginx configuration.
Any way ,thanks for your reply.
With best wishes.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,212966,213022#msg-213022



More information about the nginx mailing list