i forget to say, i have change the php port to 9000by ultrawind - Nginx Mailing List - English
to unclepieman, i add rule to iptables, /sbin/iptables -A INPUT -p tcp --dport 9000 -j ACCEPT then it works. Thanks! Why i did not add before,but it still work? And now need to add ?by ultrawind - Nginx Mailing List - English
to unclepieman, i did not allowing port 9001 in iptables before,but it work. it just can't work from yesterday. to Admin BeyondServ.net, i did not install and php modules. # netstat -n Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 22876 121.33.212.3:35182 121.9.227.50:873by ultrawind - Nginx Mailing List - English
netstat -ntop Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name Timer tcp 0 160 ::ffff:192.168.1.140:22 ::ffff:192.168.1.19:1353 ESTABLISHED 24485/0 on (0.21/0/0) #iptables -L -n -v -x ...................... 9 684 ACCEPT all -- lo * 0.0.0.0/0by ultrawind - Nginx Mailing List - English
#telnet localhost 80 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection timed out telnet: Unable to connect to remote host: Connection timed out i telnet 80 port,it also can't work.by ultrawind - Nginx Mailing List - English
# telnet localhost 9000 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection timed out telnet: Unable to connect to remote host: Connection timed out telnet localhost 9001 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection timed out telnet: Unable to connect to remote host: Connection timed out is it my iptables problem?by ultrawind - Nginx Mailing List - English
my conf default post is 9000, i turn it to 9001 just now , i think it is the port problem , but it is not.by ultrawind - Nginx Mailing List - English
and visit http://192.168.1.140/index.php the result is: The page you are looking for is temporarily unavailable. Please try again later.by ultrawind - Nginx Mailing List - English
Today , my local web http://192.168.1.140/ can't be visited , but it can visit html file , just can't visit php file. so i think it is php problem. I do not did any change about the nginx.conf and php-fpm.conf , and I look up the log, but i can't find this reson. even i restart the php-fpm and niginx, it can't either. I install the php and it also can't visit php file........please give me someby ultrawind - Nginx Mailing List - English
Maxim Dounin, thank you for you advice,it works now .and next time i will look error.log first.by ultrawind - Nginx Mailing List - English
And I had run this to config ldf 's password: #cd /usr/local/nginx/conf #htpasswd -c htpasswd ldf ............. ............. But when i visit http://192.168.1.140/NginxStatus, it does not want me to input the username and password,it just return "403 Forbidden".by ultrawind - Nginx Mailing List - English
1. I had add "--with-http_stub_status_module" when I configure the Nginx. 2. I run "/usr/local/nginx/sbin/nginx -t", and the test is successful. My nginx.conf: user daemon; worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeouby ultrawind - Nginx Mailing List - English
Thank you very much. Yu Sun, it works nowby ultrawind - Nginx Mailing List - English
I config load balancing in my main server. But after I config it,it alway visit server 192.168.1.140, and display "140". Why it do not go to http://192.168.1.124 in 50%? My main server 192.168.1.124 nginx.conf file: user daemon; worker_processes 2; error_log logs/error.log info; events { worker_connections 1024; } http { include mime.types; dby ultrawind - Nginx Mailing List - English
i got it, thank you.by ultrawind - Nginx Mailing List - English
hello,Vicente Aguilar, thank you for your helping.I found the point by the LiveHTTPHeaders Firefox plugin . i set the server_name localhost to 192.168.1.124;Then it's work now. this is the result: http://192.168.1.124/myweb GET /homekoo.com HTTP/1.1 Host: 192.168.1.124 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2) Gecko/20100115 Firefox/3.6 Accept: text/html,by ultrawind - Nginx Mailing List - English
dear all, i use Firefox to visit "http://localhost/myweb" , is also do not work. here is my nginx.conf user daemon; worker_processes 2; #error_log logs/error.log; #error_log logs/error.log notice; error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type applicatioby ultrawind - Nginx Mailing List - English
I 'm sorry for my bad english, i hope you can help me. I already setup the nginx and php. while i visit "http://localhost/myweb" the server return "Internet Explorer cannot display the webpage" while i visit "http://localhost/myweb/" then i can visit naturaly. how can i solve this problem? Should i config the nginx.conf file ?by ultrawind - Nginx Mailing List - English