[SOLVED] Change port of the demo app

Hi all,

I’m following the guide at: https://www.openhab.org/docs/developer/ide/eclipse.html

First of all, I’m impressed on how smooth everything is going so far and how well documented everything is! Awesome!
Now, after fiddling around a bit with the dependencies (it seems some including ui.paper were not built correctly during the initial start of Eclipse), all of them seem to get resolved now.
I think when starting the demo app, it would actually work except that my “production” OpenHAB is already running on port 8080, so it fails to bind to it. Any suggestions on how to make the demo app use a different port?

Cheers,
Stefan

If you open the app.bndrun file you can add under Runtime Properties:
property org.osgi.service.http.port with the port number as value. For example:

2 Likes