Calling Developers!
We are reenergizing our code contribution process! Learn More

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?

Options
UP957L8F3
UP957L8F3 Posts: 44 🧑🏻‍🚀 - Cadet

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

Comments

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options

    Yep. Just add port to endpoint:


  • UP957L8F3
    UP957L8F3 Posts: 44 🧑🏻‍🚀 - Cadet
    Options

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

  • UP957L8F3
    UP957L8F3 Posts: 44 🧑🏻‍🚀 - Cadet
    Options

    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
    Options

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

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options

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