cancel
Showing results for 
Search instead for 
Did you mean: 

initial page and admin error

initial page and admin error

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

6 REPLIES 6

Re: initial page and admin error

@artur01via91aa 

 

Check server services running or not. or are you able to connect with server?

 

If yes check logs too for server.

 

Manish Mittal
https://www.manishmittal.com/

Re: initial page and admin error

Hi @artur01via91aa 

 

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.

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: initial page and admin error

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

Re: initial page and admin error

@artur01via91aa 

 

Try to restart the server by below command (assuming you're working on Ubuntu) :

sudo service apache2 restart
Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: initial page and admin error


@gaurav_harsh1 wrote:

Hi @artur01via91aa 

 

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:f

And check if your server is running.


I executed the commands you said, on the initial page something appeared the admin nothing happened

 

telatela

 

what does each command mean?

Re: initial page and admin error

already restarted the server 2x did not work