Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR_CONNECTION_REFUSED symfony.localhost on fresh install #164

Open
JeanCapelleCDR opened this issue Sep 29, 2021 · 0 comments
Open

ERR_CONNECTION_REFUSED symfony.localhost on fresh install #164

JeanCapelleCDR opened this issue Sep 29, 2021 · 0 comments

Comments

@JeanCapelleCDR
Copy link

JeanCapelleCDR commented Sep 29, 2021

Hi there,
I've just cloned the project and ran docker-compose up -d
Have added 127.0.0.1 symfony.localhost to my hosts as mentioned on localhost
Everything works like a charm (kibana, phpmyadmin) except symfony application deserve by: NGINX_SYMFONY_SERVER_NAME from docker-compose.yml.
Indeed when I'll go to symfony.localhost, I've got ERR_CONNECTION_REFUSED

docker-compose ps:

db              docker-entrypoint.sh --def ...   Up      0.0.0.0:3306->3306/tcp,:::3306->3306/tcp, 33060/tcp
elasticsearch   /tini -- /usr/local/bin/do ...   Up      0.0.0.0:9200->9200/tcp,:::9200->9200/tcp, 9300/tcp 
kibana          /usr/local/bin/dumb-init - ...   Up      0.0.0.0:81->5601/tcp,:::81->5601/tcp               
logstash        /usr/local/bin/docker-entr ...   Up      5044/tcp, 9600/tcp                                 
nginx           /docker-entrypoint.sh nginx      Up      443/tcp, 0.0.0.0:80->80/tcp,:::80->80/tcp          
php-fpm         php-fpm8 -F                      Up      0.0.0.0:9000->9001/tcp,:::9000->9001/tcp           
phpmyadmin      /docker-entrypoint.sh apac ...   Up      0.0.0.0:8080->80/tcp,:::8080->80/tcp    

There are my only container who are running

Files error.log, symfony_access.log, symfony_error.log from logs/nginx are empty
Folder logs/symfony is empty

Also checked issues: #153 #131 #110
I don't have apache2 started

Ubuntu 20.04 LTS
docker-compose version 1.29.2
Docker version 20.10.8

Edit: I created new user ubuntu, switched on this new account, ran docker from home/oldSession/docker-symfony and it's work. Any clue of why my old session interfer with docker config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant