Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
oplkill@lemmy.world to memes@lemmy.worldEnglish · 11 days ago

When webdevs choosing port for their app

lemmy.world

message-square
34
fedilink
384

When webdevs choosing port for their app

lemmy.world

oplkill@lemmy.world to memes@lemmy.worldEnglish · 11 days ago
message-square
34
fedilink
alert-triangle
You must log in or register to comment.
  • qjkxbmwvz@startrek.website
    link
    fedilink
    arrow-up
    88
    ·
    11 days ago

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

    • dejected_warp_core@lemmy.world
      link
      fedilink
      arrow-up
      24
      ·
      11 days ago

      Okay, that’s pretty good.

  • Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    26
    ·
    11 days ago

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

    • passepartout@feddit.org
      link
      fedilink
      arrow-up
      14
      ·
      edit-2
      11 days ago

      Or Caddy (simpler than and imho spiritual successor to nginx).

      Or Traefik (has loads of convenient middlewares for reverse proxy stuff).

      Or Apache (if it is somehow better suited to your use case).

    • marduk@lemmy.sdf.org
      link
      fedilink
      arrow-up
      6
      ·
      11 days ago

      Is haproxy okay?

      • floquant@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        10 days ago

        haproxy is awesome

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 days ago

        Haproxy is great, but setup is hard. It’s more for load balancing than being an easy reverse proxy.

    • x00z@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 days ago

      I use docker ports but only allow the loopback like this: 127.0.0.1:11551:80

      And then serve that app with the reverse proxy.

  • afk_strats@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    ·
    11 days ago

    All my homies use :3000

    • anonfopyapper@lemmy.world
      link
      fedilink
      arrow-up
      21
      ·
      11 days ago

      :3

  • whyrat@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    11 days ago

    Doesn’t matter; we’ll map it to whatever the environment needs in the docker-compose.yaml.

  • Vanilla_PuddinFudge@infosec.pub
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    11 days ago

    adds a one to it

    next app…

    ports:
     - 8081:8081
    

    Ughhhhh

  • atomicbocks@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    16
    ·
    11 days ago

    Psh, we choose 443 and you know it! Just don’t ask me if we correctly enabled HTTPS…

    • BakedCatboy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      11 days ago

      Back in the day I home hosted shit using http over 443 because my ISP blocked 80 inbound but not 443. It was a little weird but it worked lmao.

      • marcos@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        11 days ago

        I run ssh over 443 because every network out there seems to block non-http ports.

  • PeriodicallyPedantic@lemmy.ca
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    11 days ago

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

    • ShouldIHaveFun@sh.itjust.works
      link
      fedilink
      arrow-up
      10
      ·
      10 days ago

      Isn’t it port 80?

      • PeriodicallyPedantic@lemmy.ca
        link
        fedilink
        arrow-up
        7
        ·
        10 days ago

        It’s both

        • Glitterbomb@lemmy.world
          link
          fedilink
          arrow-up
          10
          ·
          10 days ago

          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.

          • ftbd@feddit.org
            link
            fedilink
            arrow-up
            11
            ·
            10 days ago

            Me & the boys serving http on the boob port

            • RagingRobot@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              10 days ago

              I’d suckle that server

            • hperrin@lemmy.ca
              link
              fedilink
              English
              arrow-up
              2
              ·
              10 days ago

              I prefer the secure version, boobs.

  • Epzillon@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    11 days ago

    Imagine using 8081 while 8080 is free. Truly criminal

    • lars@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      10 days ago

      You also see a fair bit of 8001 iirc

  • VeryFrugal@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 days ago

    9090

    8888

  • RagingRobot@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    10 days ago

    I like 6969

    • Brejela the Purple@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      10 days ago

      4200 or 10420 too

    • weirdbeardgame@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      10 days ago

      Nice

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    10 days ago

    That’s because 8080 is the official unprivileged alternative port for 80, the HTTP port. Web developers are usually using HTTP, so this makes perfect sense. If it supports HTTPS, then 8443, though that one isn’t official.

    I run a few open source server projects, and they usually default to 8080 for this reason. I have one that uses 8888, and that’s only because it’s meant for temporary ad-hoc servers.

    I’m working on an SFTP server, and it will use 2222, because that’s the most common unprivileged alternative port. There is no official alternative for SSH.

  • zaphod@sopuli.xyz
    link
    fedilink
    arrow-up
    4
    ·
    11 days ago

    Me: 5000 it is.

    • jaschen306@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      11 days ago

      Arg, my Synology servers are down. Thanks.

      • zaphod@sopuli.xyz
        link
        fedilink
        arrow-up
        4
        ·
        11 days ago

        Hehe.

  • CrackedLinuxISO@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 days ago

    Everyone out here acting like they don’t use 9001

  • Empricorn@feddit.nl
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 days ago

    50501?

memes@lemmy.world

memes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !memes@lemmy.world

Community rules

1. Be civil

No trolling, bigotry or other insulting / annoying behaviour

2. No politics

This is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent reposts

Check for reposts when posting a meme, you can only repost after 1 month

4. No bots

No bots without the express approval of the mods or the admins

5. No Spam/Ads

No advertisements or spam. This is an instance rule and the only way to live.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

  • !tenforward@lemmy.world : Star Trek memes, chat and shitposts
  • !lemmyshitpost@lemmy.world : Lemmy Shitposts, anything and everything goes.
  • !linuxmemes@lemmy.world : Linux themed memes
  • !comicstrips@lemmy.world : for those who love comic stories.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 3.05K users / day
  • 6.55K users / week
  • 10.9K users / month
  • 24.7K users / 6 months
  • 1 local subscriber
  • 16.6K subscribers
  • 6.11K Posts
  • 139K Comments
  • Modlog
  • mods:
  • Tenthrow@lemmy.world
  • The Picard Maneuver@lemmy.world
  • The Picard Maneuver@startrek.website
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org