eclipse-archived / packagedrone

Eclipse Package Drone
http://eclipse.org/package-drone
Eclipse Public License 1.0
66 stars 39 forks source link

Specify interface and port ? #106

Closed t794104 closed 7 years ago

t794104 commented 7 years ago

Standard PD connects to 0.0.0.0:8080 and is available on all interfaces. I would like to limit PD to 1 specific interface and maybe change the port number. Is there currently a way to do this ?

t794104 commented 7 years ago

From the wiki :

Once you have a reverse proxy installed, it is possible to limit access to "localhost" only, so that no remote user can access Package Drone on port 8080.

Edit the file /etc/default/package-drone-server and add -Dorg.ops4j.pax.web.listening.addresses=localhost to the JAVA_OPTS variable.