please disregard the stuff i mentioned about the two domains being accessed from the one port, i was wrong, turns out setting my simple block to listen on :80 just overrides the other one!by jonathan888 - How to...
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 frby jonathan888 - How to...
sure http://i.imgur.com/BORWW0F.jpg it seems like a strange error, saying address is already in use. The server block tells nginx to listen to that port, sudo netstat -tapen | grep ":8005/6/7 " tells me that nginx is listening on that port. I've opened the port to the internet with the firewall. 'Address already in use', its hardly something to do with some sort of settingby jonathan888 - How to...
thanks, checking var/log/error.log, i see whats in the attached image. i get nothing in the access logs, i've also tried setting up the error/access logs using the directives in the server blocks, pointing to log files inside the application root folder. The logs files are created, but i get no entries into them. it seems to be the same thing thats happening, connection timeouts. could itby jonathan888 - How to...
thanks, netstat tells me that nginx is listening on the ports i want, and i used this command to try open the port i want iptables -A INPUT -p tcp --dport 8007 -j ACCEPT and it ran fine, then listing the iptable rules i see there is a new rule: ACCEPT tcp -- anywhere anywhere tcp dpt:8007 that means ive opened up that port yes?by jonathan888 - How to...
hello, i am a developer with absolutely no server experience, this project im working on is my first foray into the world of servers. Basically i have to host an API online, on a Linode server running Nginx on Ubuntu. And im having trouble getting a simple server block set up to host a html index page, with just a h1 tag saying 'hello'. I've followed and read various tutorials on getting a simpby jonathan888 - How to...