Thanks a lot....
It worked....
I initially just switched of the selinux from
/var/log/nginx/ and making it
SELINUX=disabled

but now (after doing lokkit), I could connect.

Thanks a lot.