On Alibaba Cloud ECS instance I have NGINX working normally, I can ping it from my terminal but I can't access my site from the browser.
nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
service nginx status
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-06-04 05:33:26 CST; 30min ago
Docs: man:nginx(8)
Process: 1737 ExecReload=/usr/sbin/nginx -g daemon on; master_process on; -s reload (code=exited, status=0/SUCCESS)
Process: 558 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 442 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 1714 (nginx)
Tasks: 2 (limit: 1129)
CGroup: /system.slice/nginx.service
├─1714 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
└─1738 nginx: worker process
when I point to my IP no response! Where is the problem?
trying the suggested fixes gave the following respose from the terminal
Did you selected Assign Public IP Address when you created ECS instance? It sounds to me like it does not have NatPublicIP address assigned during creation process of ECS.
Try to open ports:
Then try further to inspect ports:
Check the status of local host:
Also try to restart server:
If this does not help, try to go in debug mode and trace common errors.
If this does not help, go from the start with instance and nginx installation.
Hope this would give you idea about what step was missed.