I did the installation of magento without any error. I also released permission from the directory where it is installed with chmod -R 777 / var / www / html / magento but the same error occurs on the main page and on the admin
Can't access this site
The connection to 192.168.100.50 was refused.
Try:
Check the connection
Check the proxy and firewall
ERR_CONNECTION_REFUSED
page all php libraries for use for the same are installed
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
Check server services running or not. or are you able to connect with server?
If yes check logs too for server.
The file permission for project folder should not be 777, run below commands :
find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento chmod -R 0777 app/etc/env.php var/ generated/ pub/static/ pub/media/ php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento indexer:reindex php bin/magento c:f
And check if your server is running.
bin / magento works the server is working I'm running it on a virtual machine in which the same server has wordpress and phpmyadmin working normally, this problem only occurs with magento apache, php and mysql working normally
Try to restart the server by below command (assuming you're working on Ubuntu) :
sudo service apache2 restart
@gaurav_harsh1 wrote:
The file permission for project folder should not be 777, run below commands :
find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento chmod -R 0777 app/etc/env.php var/ generated/ pub/static/ pub/media/ php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f pjp bin/magento indexer:reindex php bin/magento c:fAnd check if your server is running.
I executed the commands you said, on the initial page something appeared the admin nothing happened
what does each command mean?
already restarted the server 2x did not work