MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    different ports

    Feature Requests
    2
    4
    1824
    Loading More Posts
    • 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.
    • S
      Shampooman last edited by

      Is it possible to use a different (additional) port to show a different page? I would like to use it to make a backend, so that I do not allways have to change the files via ssh. And I want to do a module to send messages to the mirror. Or would it be better to use a webservice or something like this?

      Thanks for your help! 🙂

      1 Reply Last reply Reply Quote 0
      • KirAsh4
        KirAsh4 Moderator last edited by

        Anything is possible, you just have to write the code to do that as it doesn’t exist at the moment.

        A Life? Cool! Where can I download one of those from?

        1 Reply Last reply Reply Quote 0
        • S
          Shampooman last edited by

          I’ve got another idea, that I’m just working on. It doesn’t have to be another port. As I saw in the description you could make a module named backend and put a website inside the public folder. I’m going to try this and will keep you up to date. I’ve got another question. I don’t know, if I should ask it here or make a new Thread.
          Is there any database on the rpi3 installation that would be prefered to use?

          1 Reply Last reply Reply Quote 0
          • S
            Shampooman last edited by

            ok i just found something new (for me)
            you could do this “port-thing” if you put this:
            this.expressApp.listen(3000)

            I allready read a lot in this forum, but found that this page i another great source of information:
            https://github.com/MichMich/MagicMirror/issues?page=2&q=is%3Aissue+is%3Aclosed

            It’s a little bit of Topic. I know and I’m sorry… 🙂

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy