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. PeerTube
  3. What RTMP Ports to use if I want to use both PeerTube and Owncast?

What RTMP Ports to use if I want to use both PeerTube and Owncast?

Scheduled Pinned Locked Moved PeerTube
rtmppeertubeowncast
15 Posts 5 Posters 2.4k Views 6 Watching
  • 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.
    • jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by jdaviescoates
      #1

      I've got an instance of Owncast installed. Love it.

      Thought I'd give PeerTube a go too. But when I tried to install it I got and error telling me RTMP Port 1935 is already in use (by Owncast).

      Can I just use a different port number? I know nothing about such things.

      I use Cloudron with Gandi & Hetzner

      robiR girishG L 3 Replies Last reply
      0
      • jdaviescoatesJ jdaviescoates

        I've got an instance of Owncast installed. Love it.

        Thought I'd give PeerTube a go too. But when I tried to install it I got and error telling me RTMP Port 1935 is already in use (by Owncast).

        Can I just use a different port number? I know nothing about such things.

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #2

        @jdaviescoates try it!

        Conscious tech

        1 Reply Last reply
        0
        • jdaviescoatesJ jdaviescoates

          I've got an instance of Owncast installed. Love it.

          Thought I'd give PeerTube a go too. But when I tried to install it I got and error telling me RTMP Port 1935 is already in use (by Owncast).

          Can I just use a different port number? I know nothing about such things.

          girishG Do not disturb
          girishG Do not disturb
          girish
          Staff
          wrote on last edited by
          #3

          @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

          Can I just use a different port number? I know nothing about such things.

          Yes, you can use any port.

          jdaviescoatesJ 1 Reply Last reply
          0
          • girishG girish

            @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

            Can I just use a different port number? I know nothing about such things.

            Yes, you can use any port.

            jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by
            #4

            @girish OK thanks, but I'm guessing there is some reason why they both default to Port 1935? is that the standard expected port for such things? I wonder if I'll hit any issues if I don't use that port...

            I use Cloudron with Gandi & Hetzner

            girishG micmcM 2 Replies Last reply
            0
            • jdaviescoatesJ jdaviescoates

              @girish OK thanks, but I'm guessing there is some reason why they both default to Port 1935? is that the standard expected port for such things? I wonder if I'll hit any issues if I don't use that port...

              girishG Do not disturb
              girishG Do not disturb
              girish
              Staff
              wrote on last edited by
              #5

              @jdaviescoates Most protocols have a default port. The default RTMP port is 1935 - https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol . If you only have one IP, there is no other way other than to run multiple apps which have same protocol other than using different ports. (And of course, Cloudron itself supports only one IP at the moment).

              1 Reply Last reply
              1
              • jdaviescoatesJ jdaviescoates

                @girish OK thanks, but I'm guessing there is some reason why they both default to Port 1935? is that the standard expected port for such things? I wonder if I'll hit any issues if I don't use that port...

                micmcM Offline
                micmcM Offline
                micmc
                wrote on last edited by
                #6

                @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                @girish OK thanks, but I'm guessing there is some reason why they both default to Port 1935? is that the standard expected port for such things? I wonder if I'll hit any issues if I don't use that port...

                The only issue would be if your streaming software cannot stream on any other ports, which is very unlikely. Simply set an entry for Owncast and one for PeerTube using the two different ports you set on your Cloudron.

                Ignorance is not an excuse anymore!
                https://AutomateKit.com

                1 Reply Last reply
                1
                • jdaviescoatesJ jdaviescoates

                  I've got an instance of Owncast installed. Love it.

                  Thought I'd give PeerTube a go too. But when I tried to install it I got and error telling me RTMP Port 1935 is already in use (by Owncast).

                  Can I just use a different port number? I know nothing about such things.

                  L Offline
                  L Offline
                  LoudLemur
                  wrote on last edited by LoudLemur
                  #7

                  @jdaviescoates EDIT! By default, both applications want port 1935~~. If you installed Owncast first, leave its port as it is as 1935.~~ During the Cloudron installation process for PeerTube,
                  set PeerTubes port to 1936. That lets both of the applications work ok together.

                  Wrong!

                  Peertube is pretty fixed on using Port 1935, if you want to use it for livestreaming. Setup Peertube as port 1935. Don't change Peertube from any other Port to 1935, as Peertube won't work properly. It is better to just completely reinstall Peertube and start again with Port 1935.

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • L LoudLemur

                    @jdaviescoates EDIT! By default, both applications want port 1935~~. If you installed Owncast first, leave its port as it is as 1935.~~ During the Cloudron installation process for PeerTube,
                    set PeerTubes port to 1936. That lets both of the applications work ok together.

                    Wrong!

                    Peertube is pretty fixed on using Port 1935, if you want to use it for livestreaming. Setup Peertube as port 1935. Don't change Peertube from any other Port to 1935, as Peertube won't work properly. It is better to just completely reinstall Peertube and start again with Port 1935.

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #8

                    @LoudLemur can't remember exactly, but I think that's basically what I did 🙂

                    I use Cloudron with Gandi & Hetzner

                    L 1 Reply Last reply
                    0
                    • jdaviescoatesJ jdaviescoates

                      @LoudLemur can't remember exactly, but I think that's basically what I did 🙂

                      L Offline
                      L Offline
                      LoudLemur
                      wrote on last edited by
                      #9

                      @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                      @LoudLemur can't remember exactly, but I think that's basically what I did 🙂

                      I have a feeling you would have done things the proper way, the way that makes things work, and that would have been to have Peertube on Port 1935 and Owncast on Port 1936.

                      brave_2Wixzjyk5W.jpg

                      jdaviescoatesJ 1 Reply Last reply
                      0
                      • L LoudLemur

                        @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                        @LoudLemur can't remember exactly, but I think that's basically what I did 🙂

                        I have a feeling you would have done things the proper way, the way that makes things work, and that would have been to have Peertube on Port 1935 and Owncast on Port 1936.

                        brave_2Wixzjyk5W.jpg

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #10

                        @LoudLemur said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                        Peertube on Port 1935 and Owncast on Port 1936.

                        Yeah, or any two different ports would work too, I think.

                        I use Cloudron with Gandi & Hetzner

                        L 1 Reply Last reply
                        0
                        • jdaviescoatesJ jdaviescoates

                          @LoudLemur said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                          Peertube on Port 1935 and Owncast on Port 1936.

                          Yeah, or any two different ports would work too, I think.

                          L Offline
                          L Offline
                          LoudLemur
                          wrote on last edited by
                          #11

                          @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                          @LoudLemur said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                          Peertube on Port 1935 and Owncast on Port 1936.

                          Yeah, or any two different ports would work too, I think.

                          That is what I used to think too, but in the screenshot above, you can see that, for livestreaming, PeerTube requires 1935. I tried changing that, and then couldn't enable Livestreaming. I think it might be hardcoded or something.

                          jdaviescoatesJ 1 Reply Last reply
                          1
                          • L LoudLemur

                            @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                            @LoudLemur said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                            Peertube on Port 1935 and Owncast on Port 1936.

                            Yeah, or any two different ports would work too, I think.

                            That is what I used to think too, but in the screenshot above, you can see that, for livestreaming, PeerTube requires 1935. I tried changing that, and then couldn't enable Livestreaming. I think it might be hardcoded or something.

                            jdaviescoatesJ Offline
                            jdaviescoatesJ Offline
                            jdaviescoates
                            wrote on last edited by
                            #12

                            @LoudLemur I guess the point I was making is that I don't think Owncast needs to be 1936?

                            I use Cloudron with Gandi & Hetzner

                            L 1 Reply Last reply
                            0
                            • jdaviescoatesJ jdaviescoates

                              @LoudLemur I guess the point I was making is that I don't think Owncast needs to be 1936?

                              L Offline
                              L Offline
                              LoudLemur
                              wrote on last edited by
                              #13

                              @jdaviescoates said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                              @LoudLemur I guess the point I was making is that I don't think Owncast needs to be 1936?

                              I think that is right. I changed Owncasts Port around and it kept going well. Peertube seems to be the particular one.

                              1 Reply Last reply
                              0
                              • robiR Offline
                                robiR Offline
                                robi
                                wrote on last edited by
                                #14

                                Then it may be time to ask for a message to not change the peertube port during install/config just like with jitsi, if you do, it won't work.

                                Conscious tech

                                L 1 Reply Last reply
                                1
                                • robiR robi

                                  Then it may be time to ask for a message to not change the peertube port during install/config just like with jitsi, if you do, it won't work.

                                  L Offline
                                  L Offline
                                  LoudLemur
                                  wrote on last edited by
                                  #15

                                  @robi said in What RTMP Ports to use if I want to use both PeerTube and Owncast?:

                                  Then it may be time to ask for a message to not change the peertube port during install/config just like with jitsi, if you do, it won't work.

                                  I think that is a good thing to suggest. It will work, if the default port is not selected, but not all of its functionality (namely the livestreaming ability) would be available, as far as I understand.

                                  I think it would be worth mentioning upstream to frama too. I don't know why they hardcoded it. Maybe it is a temporary thing.

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