Thanks a lot....It worked....I initially just switched of the selinux from /var/log/nginx/ and making it SELINUX=disabledbut now (after doing lokkit), I could connect.Thanks a lot.