Skip to content

Web API not accessible on ports 9001 and 9002 when using Docker #12

Closed
@OmidHaqi

Description

@OmidHaqi

Hi,
I'm trying to run the project using Docker, but the Web API does not seem to be accessible on ports 9001 and 9002 as expected.

Steps to reproduce:

  1. Clone the repository

  2. Run the project using the provided Docker setup

  3. Try accessing localhost:9001/swagger/index.html or localhost:9002/swagger/index.html
    Result: Connection refused

Expected behavior:
Web API should be accessible on ports 9001 and 9002 when containers are running.

Environment:

OS:

No LSB modules are available.
Distributor ID: Pop
Description:    Pop!_OS 22.04 LTS
Release:        22.04
Codename:       jammy

Docker version:

Client: Docker Engine - Community
 Version:           28.1.1
 API version:       1.49
 Go version:        go1.23.8
 Git commit:        4eba377
 Built:             Fri Apr 18 09:52:10 2025
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          28.1.1
  API version:      1.49 (minimum version 1.24)
  Go version:       go1.23.8
  Git commit:       01f442b
  Built:            Fri Apr 18 09:52:10 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.27
  GitCommit:        05044ec0a9a75232cad458027ca83437aae3f4da
 runc:
  Version:          1.2.5
  GitCommit:        v1.2.5-0-g59923ef
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Docker Compose version:

Docker Compose version v2.35.1

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