Welcome! Log In Create A New Profile

Advanced

Re: listening but not connecting

Francis Daly
July 28, 2016 03:54PM
On Thu, Jul 28, 2016 at 03:01:17PM -0400, Larry Martell wrote:

Hi there,

> netstat shows that nginx is listening on port 80:
>
> tcp 0 0 0.0.0.0:80 0.0.0.0:*
> LISTEN 9256/nginx: master
>
> But I cannot connect from my browser (I get connection timeout):

> The error log has just this one line:
>
> 2016/07/28 14:26:41 [notice] 8737#0: signal process started
>
> And there is nothing in the access.log.
>
> Any ideas what I could be missing or what i should check?

nginx is seeing no traffic.

So look at everything outside of nginx.

Does the hostname you use resolve to the nginx IP address? Do you have a
working network route to and from the nginx server? Is the a firewall or
network control device anywhere in between that is dropping the traffic?

From the nginx server, does "curl -v http://127.0.0.1/" or "curl -v
http://127.0.0.1/static/" give any useful response, or output in the
log files?

If so, you know that nginx is active.

Does "tcpdump" on the nginx server show any incoming port-80 traffic?

Good luck with it,

f
--
Francis Daly francis@daoine.org

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

listening but not connecting

Larry Martell July 28, 2016 03:04PM

Re: listening but not connecting

pratyush July 28, 2016 03:44PM

Re: listening but not connecting

Larry Martell July 28, 2016 03:50PM

Re: listening but not connecting

Francis Daly July 28, 2016 03:54PM

Re: listening but not connecting

Larry Martell July 28, 2016 10:16PM

Re: listening but not connecting

Francis Daly July 29, 2016 04:00AM

Re: listening but not connecting

Larry Martell July 29, 2016 07:20AM

Re: listening but not connecting

Reinis Rozitis July 28, 2016 04:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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