Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ekk

ekk

  1. Home
  2. Categories
  3. memes
  4. When webdevs choosing port for their app

When webdevs choosing port for their app

Scheduled Pinned Locked Moved memes
memes
35 Posts 21 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O This user is from outside of this forum
    O This user is from outside of this forum
    [email protected]
    wrote last edited by
    #1
    This post did not contain any content.
    30p87@feddit.org3 E Q M P 8 Replies Last reply
    170
    • O [email protected]
      This post did not contain any content.
      30p87@feddit.org3 This user is from outside of this forum
      30p87@feddit.org3 This user is from outside of this forum
      [email protected]
      wrote last edited by
      #2

      Unix sockets all the way. The only open ports for web traffic should be the reverse proxy (so nginx).

      M 1 Reply Last reply
      4
      • 30p87@feddit.org3 [email protected]

        Unix sockets all the way. The only open ports for web traffic should be the reverse proxy (so nginx).

        M This user is from outside of this forum
        M This user is from outside of this forum
        [email protected]
        wrote last edited by
        #3

        Is haproxy okay?

        M F H 3 Replies Last reply
        2
        • O [email protected]
          This post did not contain any content.
          E This user is from outside of this forum
          E This user is from outside of this forum
          [email protected]
          wrote last edited by
          #4

          Imagine using 8081 while 8080 is free. Truly criminal

          L 1 Reply Last reply
          0
          • O [email protected]
            This post did not contain any content.
            Q This user is from outside of this forum
            Q This user is from outside of this forum
            [email protected]
            wrote last edited by
            #5

            go2rtc, a camera streaming tool that's useful for security cameras, at least has some humor in their choice --- port 1984, of course.

            muntedcrocodile@hilariouschaos.comM 1 Reply Last reply
            47
            • M [email protected]

              Is haproxy okay?

              M This user is from outside of this forum
              M This user is from outside of this forum
              [email protected]
              wrote last edited by
              #6

              Seeing that Red Hat also uses this in OpenShift: no. ~/s~

              1 Reply Last reply
              0
              • O [email protected]
                This post did not contain any content.
                M This user is from outside of this forum
                M This user is from outside of this forum
                [email protected]
                wrote last edited by
                #7

                As long as it is configurable, ideally via env, I dont care about the port.

                This could be important for restricted Kubernetes clusters (or certain Gluetun configs). Don't be Nextcloud with their default port of 80 in their Apache image with only hacky ways to change that. God, I hate Nextcloud. They are truly becoming the next Wordpress.

                J K 2 Replies Last reply
                13
                • O [email protected]
                  This post did not contain any content.
                  P This user is from outside of this forum
                  P This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #8

                  I mean, if you're serving over http, that is the port for it

                  S 1 Reply Last reply
                  5
                  • P [email protected]

                    I mean, if you're serving over http, that is the port for it

                    S This user is from outside of this forum
                    S This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #9

                    Isn't it port 80?

                    P 1 Reply Last reply
                    11
                    • S [email protected]

                      Isn't it port 80?

                      P This user is from outside of this forum
                      P This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #10

                      It's both

                      G 1 Reply Last reply
                      6
                      • Q [email protected]

                        go2rtc, a camera streaming tool that's useful for security cameras, at least has some humor in their choice --- port 1984, of course.

                        muntedcrocodile@hilariouschaos.comM This user is from outside of this forum
                        muntedcrocodile@hilariouschaos.comM This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #11

                        Whatever dev came up with that was probably very proud.

                        1 Reply Last reply
                        10
                        • P [email protected]

                          It's both

                          G This user is from outside of this forum
                          G This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #12

                          We apparently could have been using 8008 this entire time for the same thing and we haven't and I'm a little sour now.

                          F 1 Reply Last reply
                          6
                          • M [email protected]

                            Is haproxy okay?

                            F This user is from outside of this forum
                            F This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #13

                            haproxy is awesome

                            1 Reply Last reply
                            1
                            • G [email protected]

                              We apparently could have been using 8008 this entire time for the same thing and we haven't and I'm a little sour now.

                              F This user is from outside of this forum
                              F This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #14

                              Me & the boys serving http on the boob port

                              R H 2 Replies Last reply
                              8
                              • M [email protected]

                                As long as it is configurable, ideally via env, I dont care about the port.

                                This could be important for restricted Kubernetes clusters (or certain Gluetun configs). Don't be Nextcloud with their default port of 80 in their Apache image with only hacky ways to change that. God, I hate Nextcloud. They are truly becoming the next Wordpress.

                                J This user is from outside of this forum
                                J This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #15

                                The docker image you just set the port like any other program.

                                M 1 Reply Last reply
                                3
                                • M [email protected]

                                  As long as it is configurable, ideally via env, I dont care about the port.

                                  This could be important for restricted Kubernetes clusters (or certain Gluetun configs). Don't be Nextcloud with their default port of 80 in their Apache image with only hacky ways to change that. God, I hate Nextcloud. They are truly becoming the next Wordpress.

                                  K This user is from outside of this forum
                                  K This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #16

                                  Vaulwarden does this and I'm really frustrated that I have to cap_add NET_BIND_SERVICE in my rootless setup just to make my password server run.

                                  gray@pawb.socialG 1 Reply Last reply
                                  4
                                  • J [email protected]

                                    The docker image you just set the port like any other program.

                                    M This user is from outside of this forum
                                    M This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by [email protected]
                                    #17

                                    Unless I am missing some obvious setting:
                                    Restricted Kubernetes doesnt work like that. You have to run the container with a non-root UID (usually something upwards of a million). Non-root users however can't reserve ports below 1025. Nextcloud builds on the default php-apache image which comes with the default apache ports.conf (Listen 80).

                                    So now this has to be overwritten either by making a custom build (which may require creating a custom build pipeline) or by mounting a new config file (e.g. via ConfigMap) else it wont start. Both are an additional update risk which now has to be documented and checked before updating in addition to changes from the normal nextcloud changelog.

                                    Similiar issues probably appear with rootless docker/podman unless you add extra capabilities, which is not possible in restricted kubernetes settings.

                                    J 1 Reply Last reply
                                    1
                                    • O [email protected]
                                      This post did not contain any content.
                                      R This user is from outside of this forum
                                      R This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #18

                                      I like 6969

                                      B 1 Reply Last reply
                                      6
                                      • F [email protected]

                                        Me & the boys serving http on the boob port

                                        R This user is from outside of this forum
                                        R This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by
                                        #19

                                        I'd suckle that server

                                        1 Reply Last reply
                                        1
                                        • M [email protected]

                                          Unless I am missing some obvious setting:
                                          Restricted Kubernetes doesnt work like that. You have to run the container with a non-root UID (usually something upwards of a million). Non-root users however can't reserve ports below 1025. Nextcloud builds on the default php-apache image which comes with the default apache ports.conf (Listen 80).

                                          So now this has to be overwritten either by making a custom build (which may require creating a custom build pipeline) or by mounting a new config file (e.g. via ConfigMap) else it wont start. Both are an additional update risk which now has to be documented and checked before updating in addition to changes from the normal nextcloud changelog.

                                          Similiar issues probably appear with rootless docker/podman unless you add extra capabilities, which is not possible in restricted kubernetes settings.

                                          J This user is from outside of this forum
                                          J This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #20

                                          I know nothing about k8s, just started with a homelab using primarily docker in an Ubuntu LXC in proxmox and have been using the nextcloud image via docker compose on a different port by simply editing the compose to outwardly point to a different port, inside the docker container my understanding is it all still uses port 80, thereby causing no further issues with the application.

                                          M 1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups