Skip to content

Exposing port has no effect #30

Closed
Closed

Description

@icebob

Hello again,

I've started my own container which expose the port 3000 in the container. I would like to expose it as 3001 without domains.
I tried it within the Application Ports, but it has no effect any settings:

image

docker ps output:

CONTAINER ID   IMAGE                          COMMAND                  CREATED          STATUS          PORTS                                                                                                                 NAMES
cf5170d050d9   registry.q:5000/qnet7:latest   "./bin/application-s…"   11 seconds ago   Up 9 seconds    3000/tcp, 4000/tcp, 8000/tcp                                                                                          app-generate-redundant-feed-poiep9.1.vkrlsh7w1g8pptyjcsz5wwq9e

May I have the wrong configuration somewhere?

Thanks in advance!

Activity

  1. Siumauricio commented on May 3, 2024

    @Siumauricio
    Contributor

    Hey @icebob.

    I tried the same config, and have you redeploy your app? in order to apply this changes is required to redeploy, i tested and is working now, maybe I should add a alert there when you add some port redeploy the app to take the effect!

    Screenshot 2024-05-03 at 10 26 21 AM
    image

  2. icebob commented on May 3, 2024

    @icebob
    Author

    Yes, I tried the redeploy, but it had no effect. However, yeah would be good a warning there,

    Next week, I will try it again.

  3. Siumauricio commented on May 3, 2024

    @Siumauricio
    Contributor

    @icebob another question are you deploying a custom docker registry?

  4. icebob commented on May 3, 2024

    @icebob
    Author

    I deployed a custom docker image from my registry.

  5. Siumauricio commented on May 7, 2024

    @Siumauricio
    Contributor
  6. icebob commented on May 7, 2024

    @icebob
    Author

    It's different from #30.
    In #30 I wanted to expose the Dokploy admin site port on different port instead of 3000.

    In this ticket I wanted to expose the started app port to the host.

  7. ericaprieto commented on Sep 3, 2024

    @ericaprieto

    Was this fixed? I'm also unable to map ports

  8. Siumauricio commented on Sep 3, 2024

    @Siumauricio
    Contributor

    @ericaprieto Create a minimal reproduce example to test this

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

    duplicateThis issue or pull request already existsquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions