Change webserver port off of 80

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

Change webserver port off of 80

Postby tomrt » Fri Dec 16, 2016 8:14 pm

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: 3046
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Change webserver port off of 80

Postby Patrick » Wed Mar 08, 2017 12:16 pm

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


Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests