Install octoprint on raspbian. With the correct port it worked.