Skip to content

Can't connect on first install? #301

Closed

Description

@YouveGotMeowxy

hi guys

Not sure what't wriong here, but after starting the container and trying to visit http://127.0.0.1:8099 I just get:

Image

Here's all I have in my compose:

  d11-dev:
    image: 'drupal:11.3.5-php8.5-apache-trixie'
    hostname: 'd11-dev'
    environment:
      TZ: 'America/Chicago'
    volumes:
      - '/opt/docker/configs/drupal/11/modules:/var/www/html/modules'
      - '/opt/docker/configs/drupal/11/profiles:/var/www/html/profiles'
      - '/opt/docker/configs/drupal/11/themes:/var/www/html/themes'
      - '/opt/docker/configs/drupal/11/sites:/var/www/html/sites'
    ports:
      - published: 8099
        target: 8080
        protocol: 'tcp'
        mode: 'host'
    deploy:
      mode: 'replicated'
      replicas: 1
      placement:
        constraints:
          - 'node.labels.Cloud == true'
      resources:
        limits:
          cpus: '1.0'
          memory: '300M'
      restart_policy:
        condition: 'any'
    networks:
      - 'mariadb'

This is all the container's log shows:

Image

Anyone know why?

Activity

  1. mstenta commented on Mar 20, 2026

    @mstenta

    Apache listens on port 80 inside the container. Try changing your target: 8080 to target: 80.

  2. locked and limited conversation to collaborators on Mar 20, 2026
  3. converted this issue into a discussion #302 on Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions