• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Moving DWC to a different port / path

Scheduled Pinned Locked Moved
Duet Web Control
2
4
239
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.
  • undefined
    ofliduet
    last edited by 15 Aug 2020, 20:29

    This is a follow up to DWC + Octoprint on RPi + Duet3?. I want to achive the same thing. The reason are plugins that don't exist yet on DWC. The two that I'm looking for are

    • TheSpaghettiDetective for AI monitoring of prints and
    • Canvas / Palette 2 so that I can print multicolour with my Mosaic Palette 2S Pro.

    I'm not here to discuss the pros and cons, those have been stated in the above thread. If someone wants to contact me to work on integrating those plugins into DWC, I'd be game.

    That said, one of the problems encountered is the clash between Octoprint and DWC both wanting to open port 80. So my question is, how do I change the URL root for DWC from http://localhost/* to http://localhost:8080/dwc/* ?

    1 Reply Last reply Reply Quote 0
    • ?
      A Former User
      last edited by 15 Aug 2020, 21:26

      you don't need to move it to a sub folder if you move the port number.

      you could try editing /opt/dsf/config/http.json

      https://github.com/Duet3D/DuetSoftwareFramework#duetwebserver

      (i spent 5 min with the ms docs and failed, but you might have more motivation..)

      ? 1 Reply Last reply 15 Aug 2020, 21:52 Reply Quote 0
      • ?
        A Former User @A Former User
        last edited by 15 Aug 2020, 21:52

        @bearer said in Moving DWC to a different port / path:

        you don't need to move it to a sub folder if you move the port number.

        you could try editing /opt/dsf/config/http.json

        https://github.com/Duet3D/DuetSoftwareFramework#duetwebserver

        (i spent 5 min with the ms docs and failed, but you might have more motivation..)

        edit: hm, it did work to change the port number at least, I just dismissed it due to other errors in the log.

        "Kestrel": {
        "Endpoints": {
        "Http": {
        "Url": "http://*:8080"
        }
        }
        },

        if you need the /dwc/ bit as well, maybe do some digging or use nginx or something

        undefined 1 Reply Last reply 16 Aug 2020, 07:44 Reply Quote 1
        • undefined
          ofliduet @A Former User
          last edited by 16 Aug 2020, 07:44

          @bearer Excellent. It's a start. With that at least I can put it behind the haproxy Octoprint is using itself. Thanks!

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA