内网中通过nginx正向代理访问指定地址,10个服务器里面9个都没问题,1个服务器无法curl到,用curl-v看了下,过程如下:
curl -v http://192.168.30.171/aliyun
- About to connect() to proxy 192.168.16.120 port 22 (#0)
- Trying 192.168.16.120...
- Connection timed out
- Failed connect to 192.168.16.120:22; Connection timed out
不知道为什么会去连接192.168.16.120 ????这个IP是内网环境中的
一台PC机。
下面是正常的服务器:
curl -v http://192.168.30.171/aliyun
- About to connect() to 192.168.30.171 port 80 (#0)
- Trying 192.168.30.171...
- Connected to 192.168.30.171 (192.168.30.171) port 80 (#0) > GET /aliyunsms HTTP/1.1 > User-Agent: curl/7.29.0 > Host: 192.168.30.171 > Accept: /
网络环境正常,防火墙都关闭了。