Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: simple Nginx config not working

$
0
0
the results of - netstat -tapen | grep ":800x"

http://i.imgur.com/yCWyiEa.png


results of - lsof -i :80 (port 80 being the port the live application is listening on)

http://i.imgur.com/f6WbR7y.png


does '*:http' mean that port 80 is assigned to listen to all http trafic?

i had an interesting discovery, just to test it out, i set my most simple block (the port 8005 one from above) to listen on port 80. And lo and behold, my page appeared! when going to [ip]:80 or even just [ip].

also i should mention that the above block for the running application is wrong, its actually listening on port 80 also, but when hitting [ip]:80 or [ip] i only get directed to the simple block i created. but hitting the proper DNS address takes me to the application.

so what i gather is that many domains can be served through the one port? I

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>