G
G
germn2012-08-30 23:53:01
linux
germn, 2012-08-30 23:53:01

I install nginx and php-fpm. Works locally, not in the browser. How to find a bug?

I'm trying to set up a VPS on clodo, I do everything according to this manual , the only thing is that I install the latest versions of the packages.
Stopped at a step:

lynx localhost

phpinfo is given in the console, everything is fine, but when I type in the external IP of my server in the browser, I see "Firefox cannot establish a connection to the server."
Please tell me:
- What actions does it make sense to take to find the problem?
- What could be the problem?
Honestly, I googled for a long time, tried to solve it myself, but, unfortunately, I could not. I will be grateful for help. I set up VPS for the first time, as well as the first time I communicate with Linux. Please don't hit hard :)
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
v2t, 2012-08-31
@germn

What does telnet say <your server IP> 80 from a remote machine? Show the output of iptables -nL and netstat -tupln from the server.

P
Puma Thailand, 2012-08-31
@opium

Well, go listen 127.0.0.1
and the external ip does not listen to either nginx or apache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question