Nginx server installs fine, but then doesn't do anything - Ask Ubuntu


i have fresh install of ubuntu lts 16.04 server, being hosted on amazon. according instructions on web, installing nginx easy:

  1. apt-get install nginx
  2. sudo systemctl enable nginx
  3. sudo systemctl start nginx

at point, according instructions i've seen, should able open browser, go ip address, , see default "welcome nginx" page.

but when open browser , go ip address, no response @ all. if try access ip address command line see if can more verbose output, response:

$ wget --verbose http://###.###.###.###:80 --2016-11-11 00:26:57--  http://###.###.###.###/ connecting ###.###.###.###:80... failed: connection timed out. retrying. 

there nothing in access.log, there 1 line in error.log:

2016/11/10 08:03:41 [notice] 30097#30097: signal process started

and used ufw open port 80:

to                         action      --                         ------      ---- 80/tcp (nginx http)        allow in    anywhere 

why nginx not doing anything, , how show default welcome page?


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User