Trying to change ip and port on raspberry pi

What is the problem?

Want to set static IP and change port on newest raspberry pi with newest python

What did you already try to solve it?

tried editing ~/.octoprint/config.yaml - with host: and port:

server:

Use this option to define the host to which to bind the server, defaults to "0.0.0.0" (= all

interfaces)

host: 192.168.1.31

Use this option to define the port to which to bind the server, defaults to 5000

port: 7005

If this option is true, OctoPrint will show the First Run wizard and set the setting to

false after that completes

Have you tried running in safe mode?

WRITE HERE

Did running in safe mode solve the problem

why?

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog... no bundle, no support, unless the reason you couldn't retrieve the bundle is your network issues

huh?

Additional information about your setup

Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ... as much data as possible

nothing special

please help!