Welcome! Log In Create A New Profile

Advanced

Re: Changing port on which Nginx listens?

July 16, 2010 08:02AM
On Fri, Jul 16, 2010 at 12:45, Gilles Ganault <gilles.ganault@free.fr> wrote:
> At least, I can't think of another cause that would allow a web server
> to be reachable on TCP80 but not on TCP8787 altough "netstat" shows
> that it's up and running.

Telnet to it: on the command line, do telnet localhost 8787, then do
GET / HTTP/1.1 and hit enter twice. You'll see if it's replying or
not, and what. Based on your config, nginx will listen and respond on
8787. Do you have another webserver listening on 80? You can use
netstat -lp to see which service is listening on which port. Use a
simple html file, it'll reply with 200. Check your site's code.

--
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-mail

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

Changing port on which Nginx listens?

Gilles Ganault July 16, 2010 04:46AM

Re: Changing port on which Nginx listens?

Jérôme Loyet July 16, 2010 06:40AM

Re: Changing port on which Nginx listens?

vesperto July 16, 2010 07:18AM

Re: Changing port on which Nginx listens?

Gilles Ganault July 16, 2010 07:50AM

Re: Changing port on which Nginx listens?

vesperto July 16, 2010 08:02AM

Re: Changing port on which Nginx listens?

Gilles Ganault July 16, 2010 08:06AM

Re: Changing port on which Nginx listens?

Jérôme Loyet July 16, 2010 08:12AM

Re: Changing port on which Nginx listens?

Gilles Ganault July 16, 2010 09:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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