Page 1 of 1

Change webserver port off of 80

Posted: Fri Dec 16, 2016 8:14 pm
by tomrt
Hi,

Is there a simple way to move the default website off of port 80? I'd like to use port 80 for the webservice that I'm running on the SBC.

Thanks!
Brett

Re: Change webserver port off of 80

Posted: Wed Mar 08, 2017 12:16 pm
by Patrick
Yes, modify the file /etc/init.d/busybox-httpd and modify the OPTIONS line, adding -p for port. For example, to use port 85:

OPTIONS="-c $DEFAULTS -f -p 85"

-Patrick