Welcome! Log In Create A New Profile

Advanced

Re: all visitor have same IP (my server IP)

Francis Daly
April 12, 2012 04:06AM
On Wed, Apr 11, 2012 at 10:42:25PM -0400, activa wrote:

Hi there,

> is normal to see alot of connexion from my server ip in the port 80 ?

From your server port 80? No, that's not normal. But that's not what
you're showing.

To your server port 80 is normal; and to your server port 8081 is normal.

> netstat -lanp | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq
> -c | sort -n

This will include all of the connections from the world to your :80
server, plus all of the connections from your server to your :8081 server.

(I'm assuming that you proxy_pass to your_ip:8081.)

> 2029 xxx.xxx.xxx.xxx (this is ip server ) .
>
> nginx is a proxy for apache (port 8081) .

You haven't shown that configuration yet.

Can you show the configuration of the location{} where you proxy_pass? You
will want to make sure that the "proxy_set_header X-Real-IP $remote_addr;"
line is active there -- either because it is in that location, or because
it is inherited into it.

f
--
Francis Daly francis@daoine.org

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

all visitor have same IP (my server IP)

Rajnesh Kumar Siwal April 11, 2012 05:50AM

Re: all visitor have same IP (my server IP)

activa April 11, 2012 10:42PM

Re: all visitor have same IP (my server IP)

Francis Daly April 12, 2012 04:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 305
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