HumanSignal / HumanSignal/label-studio

Unable to access Label Studio via port forwarding in Docker development mode

Open
#7,193 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Description:**
Following the [installation guide](https://labelstud.io/guide/install.html#Install-from-source), I set up Label Studio in a local Docker container. I forwarded the container's port 8080 to the host machine's port 7999 and started the server in development mode at http://localhost:8080. However, when attempting to access the host machine's IP via http://:7999, I encounter a "Connection refused" error.

**Steps to Reproduce:**

1.Installed Label Studio in a Docker container.

2.Mapped container port 8080 to host port 7999 (via -p 7999:8080).

3.Started the server with development mode: poetry run python label_studio/manage.py runserver

4.Tried accessing http://localhost:7999 or http://:7999 but failed with connection refusal.

Expected Behavior:
Successful access to the Label Studio web interface via the forwarded port.

Additional Context:

Docker and network configurations appear normal.

No firewall/security rules blocking the port.

Any help resolving this issue would be greatly appreciated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.