Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. SFTPGo
  3. Port conflict issue

Port conflict issue

Scheduled Pinned Locked Moved SFTPGo
5 Posts 3 Posters 218 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic was forked from SFTPGo is now available joseph
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      C Offline
      crazybrad
      wrote on last edited by crazybrad
      #1

      @girish Ran into an installation error after allowing the default port selections:

      An error occurred during the install operation: Docker Error: (HTTP code 500) server error - driver failed programming external connectivity on endpoint 081ea546-42d2-43b3-8f87-0e27dec7d643 (06966450f28f844cdfb93632f6f00c811cbe180d1504ab7c67288971b6d3fa25): failed to bind port 0.0.0.0:40028/tcp: listen tcp4 0.0.0.0:40028: bind: address already in use

      Attempting a re-install did not work.

      BrutalBirdieB 1 Reply Last reply
      1
      • C crazybrad

        @girish Ran into an installation error after allowing the default port selections:

        An error occurred during the install operation: Docker Error: (HTTP code 500) server error - driver failed programming external connectivity on endpoint 081ea546-42d2-43b3-8f87-0e27dec7d643 (06966450f28f844cdfb93632f6f00c811cbe180d1504ab7c67288971b6d3fa25): failed to bind port 0.0.0.0:40028/tcp: listen tcp4 0.0.0.0:40028: bind: address already in use

        Attempting a re-install did not work.

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #2

        @crazybrad for some reason Port 40028 is already used from your server.
        You can adjust the port range int he install, or even better, you should investigate why this port is used 🤔 it should not be used.

        Like my work? Consider donating a drink. Cheers!

        C 1 Reply Last reply
        1
        • BrutalBirdieB BrutalBirdie

          @crazybrad for some reason Port 40028 is already used from your server.
          You can adjust the port range int he install, or even better, you should investigate why this port is used 🤔 it should not be used.

          C Offline
          C Offline
          crazybrad
          wrote on last edited by
          #3

          @BrutalBirdie It looks like a docker container is using those ports:

          dockerd 1130 root 324u IPv4 8340333 0t0 TCP *:40028 (LISTEN)
          dockerd 1130 root 325u IPv6 8340334 0t0 TCP *:40028 (LISTEN)

          And here are the details of PID 1130:

          ─1130 /usr/bin/dockerd -H fd:// --log-driver=journald --exec-opt native.cgroupdriver=cgroupfs --storage-driver=overlay2 --experimental --ip6tables --userland-pro>

          Any ideas?

          1 Reply Last reply
          0
          • BrutalBirdieB Offline
            BrutalBirdieB Offline
            BrutalBirdie
            Partner
            wrote on last edited by
            #4

            @crazybrad No idea 😄
            But you can just adjust the port range from 40000 to 40100 then 40100 to 40201 will be used.

            Like my work? Consider donating a drink. Cheers!

            1 Reply Last reply
            0
            • J Offline
              J Offline
              joseph
              Staff
              wrote on last edited by
              #5

              I think this is some docker issue. We see the same issue in our CI and also reported in the Mirotalk threads. Reinstalling fixes the problem as you already found out

              1 Reply Last reply
              0
              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.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search