Pi-GPIO-Server icon indicating copy to clipboard operation
Pi-GPIO-Server copied to clipboard

How to change the connection port

Open raykavin opened this issue 5 years ago • 1 comments

I would like to know if it is possible to change the port that is in 5000 to port 80.

raykavin avatar May 13 '19 01:05 raykavin

I guess you can edit in file init.py

Just change line: app.port = os.gentenv('PORT', 5000) to your favourite port.

japetos avatar Jul 30 '19 12:07 japetos