Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

502 Bad Gateway when running locally #2

@jeffski

Description

@jeffski

I cloned the project, copied Laravel files in to it (fresh install) and ran:

docker-compose up -d

When I visit http://localhost I get a 502 Bad Gateway error message in the browser.

The docker log command docker logs aws-fargate-with-php_nginx_1 gives the following output:

192.168.80.1 - - [09/Jun/2020:07:43:31 +0000] "GET / HTTP/1.1" 502 158 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0" "-"
2020/06/09 07:43:31 [error] 11#11: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.80.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions