Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Connection refused with docker installation #240

@juanluisbaptiste

Description

@juanluisbaptiste

Reproduction

Steps to reproduce:

  1. Follow docker install instructions at https://getfal.co/docs/getting-started/installation
  2. Use the example docker-compose.prod.yml file
  3. Configure the .env.prod file, add for example ALLOWED_HOST=falco
  4. Add falco hostname to your hosts file pointing to your laptop or server, ie:
sudo echo "192.168.0.10 falco" >> /etc/hosts
  1. Open in a browser http://falco
  2. Falco returns a redirection to https://falco which ends in a connection refused error.

Expected Behavior

Falco login page should be loaded

Actual Behavior

A connection refused error:

curl -IL http://falco
HTTP/1.1 301 Moved Permanently
Server: 
Date: Fri, 05 Feb 2021 04:37:21 GMT
Connection: close
Content-Type: text/html; charset=utf-8
Location: https://falco/
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block

curl: (7) Failed to connect to falco port 443: Connection refused

Environment

Using example docker-compose.prod.yml and .env.prod.dist example files (only changing postgres db password env variables as noted in issue #239 ).

  • Browser(s): Firefox 85.0
  • Operating System (e.g. Windows, macOS, Ubuntu): Kubuntu 20.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions