Nginx

Check syntax of Nginx’s configuration files

nginx -t -c /etc/nginx/nginx.conf

Debug Command

$ service nginx configtest

Apache Server Port number Check

netstat -ntpl |grep httpd