tsunghanliu / adsb-box.snap

a snap to build a ADS-B receiver station
28 stars 4 forks source link

Change port 8080 to another, and allow network access (not only 127.0.0.1) #56

Open dcialdella opened 1 year ago

dcialdella commented 1 year ago

Change port 8080 to another, and allow network access (not only 127.0.0.1) thanks in advance

tsunghanliu commented 1 year ago

I've add a mechanism to change the port number of web server in v1.6.4 which is currently on the edge channel. I'll run it for several days and release it to other channels later.

The port number can be changed by using the following commands when you are using the version or other later ones.

$ sudo snap set adsb-box lighttpd.port=8081
$ sudo snap restart adsb-box.lighttpd

Regarding the network access, it should be accessible from all devices already. I always open the web pages of my Pi4 with Ubuntu Core from my laptop. Do you have firewall enabled on your device?