What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi, is it possible to get docker/sdk listen on a different port than 80 externally?

UP957L8F3
UP957L8F3 Posts: 44 πŸ§‘πŸ»β€πŸš€ - Cadet

Hi, is it possible to get docker/sdk listen on a different port than 80 externally?

Comments

  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    Yep. Just add port to endpoint:


  • UP957L8F3
    UP957L8F3 Posts: 44 πŸ§‘πŸ»β€πŸš€ - Cadet

    ok thanks , my fault: i tried this and missed de leading colon

  • UP957L8F3
    UP957L8F3 Posts: 44 πŸ§‘πŸ»β€πŸš€ - Cadet

    so if I define this correctly I get my locations on the correct port but the port 80 is also opened

  • UP957L8F3
    UP957L8F3 Posts: 44 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited November 2019

    can this be because in the function retrieveUniquePorts the list with ports is initialized with the element 80=>80 ?

  • sprymiker
    sprymiker Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    All and every endpoints must have port to avoid using 80.