V1Pi combine with MaslowCNC

New Home Forum Mostly Printed CNC – MPCNC Troubleshooting – MPCNC V1Pi combine with MaslowCNC

This topic contains 2 replies, has 3 voices, and was last updated by  Jeffeb3 4 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #114448

    MdO
    Participant

    Hello,

    I’m trying to run V1Pi and Maslow CNC WebControl from one RaspberryPi. I can run each image separately, but not simultaneously. It seems that Octoprint and WebControl both want to use part :5000. This obviously leads to conflicts. Is there a way to change the port of Octoprint in V1Pi. It states that it uses port :4080 but that seems to be redirected from port 5000?

    Kind regards,

    Mark

    #114480

    https://community.octoprint.org/t/change-back-end-port-from-5000/8304/2

     

    Since folks do several instances of Octoprint on one rPi, it is common to change the ports. You have to understand how Octoprint serves the pages and do a little re-configure, but it isn’t that complicated.

    #114554

    Jeffeb3
    Participant

    You can change the default port for octoprint in /etc/default/octoprint.

    The settings for cncjs are in /etc/default/cncjs.

    The landing page stuff I wrote will still redirect the octoprint link to port 5000 using haproxy. Those settings are in /etc/haproxy/haproxy.cfg and the landing page is in /home/pi/landingPage/

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.