Change webserver port off of 80

General PhidgetSBC Discussion.
Post Reply
tomrt
Fresh meat
Posts: 1
Joined: Fri Dec 16, 2016 8:11 pm
Contact:

Change webserver port off of 80

Post 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
User avatar
Patrick
Lead Developer
Posts: 3403
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Change webserver port off of 80

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests