New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
This helped the binding issue although nginx doesnt respond on those ports
[root@openvz conf.d]# netstat -tulpn | grep nginx
tcp 0 0 0.0.0.0:2080 0.0.0.0:* LISTEN 5210/nginx
tcp 0 0 0.0.0.0:2081 0.0.0.0:* LISTEN 5210/nginx
tcp 0 0 0.0.0.0:2080 0.0.0.0:* LISTEN 5210/nginx
tcp 0 0 0.0.0.0:2081 0.0.0.0:* LISTEN 5210/nginx
What do you mean by it doesn't respond on those ports? What error do you get?
Firewall maybe?
Turned off the firewall too obviously
Says connection refused.
UPDATE :
Thing is ports were responding on IP address eg:
http://ip-address:2081/
but when I try with
http://sub.domain.com:2081/
Connection refused
So something wrong in config ?
Try placing "default_server" into the "listen" directive and use "_" as "server_name".
Ok I was an idiot I forgot to open ports on router for vm's lan ip and so everything is in-place now... jeez need to get some sleep silly piece of mistakes here .