After successfully install magento 2.3.3 in centos 7 with nginx, url getting Unable connect error.
Install magento 2.3 using following commands,
php bin/magento setup:install --base-url=http://localhost/magento2 --db-host=localhost --db-name="magento2" --db-user="root" --db-password="" --admin-firstname="abc" --admin-lastname="abc" [email protected] --admin-user="magento2" --admin-password="magento2123" --language="en_US" --currency="INR" --timezone="Asia/Kolkata" --use-rewrites="1"
Configure SELinux and Firewalld
/etc/nginx/conf.d/magento.conf
upstream fastcgi_backend {
server unix:/run/php-fpm/php-fpm.sock;
}
server {
listen 8091;
server_name 192.168.1.64;
set $MAGE_ROOT /usr/share/nginx/html/magento2;
include /usr/share/nginx/html/magento2/nginx.conf.sample;
}
If i try the url : 19.168.1.64:8091 getting error like Unable connect error
Anything else i missed?