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. Discuss
  3. Get Ports of Cloudron Apps

Get Ports of Cloudron Apps

Scheduled Pinned Locked Moved Discuss
cloudflaretunnel
4 Posts 3 Posters 581 Views 3 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.
  • B Offline
    B Offline
    bdh-dosom
    wrote on last edited by girish
    #1

    Hello so i need this information because im trying to setup cloudflared tunnel.
    The device in my home network which is the exit of the tunnel has to forward to an ip:port
    for example 192.168.178.2:1234, so it will forward me to the specific cloudron app.
    The problem is, that i dont know which ports the apps are running on. Cloudron wants me to come through a domain, otherwhise it will give me the "You are seeing this page because the DNS record of test.mydomain.org is set to this server's IP but Cloudron has no app configured for this domain". Locally editing the /etc/hosts file of my exit device that specifically resolves the ip to the cloudron domain didnt work either. So it appears I have to provide ip:port at the exit of the tunnel.
    Can somebody tell me where to find the ports? I have tried to nmap my cloudron server but the results were not usable.
    Thanks!!

    murgeroM girishG 2 Replies Last reply
    0
    • B bdh-dosom

      Hello so i need this information because im trying to setup cloudflared tunnel.
      The device in my home network which is the exit of the tunnel has to forward to an ip:port
      for example 192.168.178.2:1234, so it will forward me to the specific cloudron app.
      The problem is, that i dont know which ports the apps are running on. Cloudron wants me to come through a domain, otherwhise it will give me the "You are seeing this page because the DNS record of test.mydomain.org is set to this server's IP but Cloudron has no app configured for this domain". Locally editing the /etc/hosts file of my exit device that specifically resolves the ip to the cloudron domain didnt work either. So it appears I have to provide ip:port at the exit of the tunnel.
      Can somebody tell me where to find the ports? I have tried to nmap my cloudron server but the results were not usable.
      Thanks!!

      murgeroM Offline
      murgeroM Offline
      murgero
      App Dev
      wrote on last edited by murgero
      #2

      @bdh-dosom Other than app-specific ports (which are listed in the apps config panel then Location tab in that app's configuration) every app is reverse proxied through port 80 and 443 (80 just redirects to 443 btw) so you can start with those. and work your way around your specific installed apps 🙂

      --
      https://urgero.org
      ~ Professional Nerd. Freelance Programmer. ~

      1 Reply Last reply
      0
      • B bdh-dosom

        Hello so i need this information because im trying to setup cloudflared tunnel.
        The device in my home network which is the exit of the tunnel has to forward to an ip:port
        for example 192.168.178.2:1234, so it will forward me to the specific cloudron app.
        The problem is, that i dont know which ports the apps are running on. Cloudron wants me to come through a domain, otherwhise it will give me the "You are seeing this page because the DNS record of test.mydomain.org is set to this server's IP but Cloudron has no app configured for this domain". Locally editing the /etc/hosts file of my exit device that specifically resolves the ip to the cloudron domain didnt work either. So it appears I have to provide ip:port at the exit of the tunnel.
        Can somebody tell me where to find the ports? I have tried to nmap my cloudron server but the results were not usable.
        Thanks!!

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

        @bdh-dosom said in Get Ports of Cloudron Apps:

        Cloudron wants me to come through a domain,

        This is just normal HTTP 1.1 behavior when you host multiple domains in a single IP address. The HTTP Host header has to be set to the domain of the app which you are accessing.

        B 1 Reply Last reply
        0
        • girishG girish moved this topic from Support on
        • girishG girish

          @bdh-dosom said in Get Ports of Cloudron Apps:

          Cloudron wants me to come through a domain,

          This is just normal HTTP 1.1 behavior when you host multiple domains in a single IP address. The HTTP Host header has to be set to the domain of the app which you are accessing.

          B Offline
          B Offline
          bdh-dosom
          wrote on last edited by
          #4

          @girish yes it makes total sense, I thought there would be a way like with portainer where it just tells you ip:port but i get this is a bit more complex.
          I got it to work with @murgero tip and an nginx reverseproxy.
          Thank you both

          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