WebIOPi Port Forwarding (Forward port 8000 to port 80)

372 views
Skip to first unread message

Sean Murphy

unread,
Aug 5, 2016, 9:33:43 AM8/5/16
to WebIOPi
I have a Raspberry Pi running Jessie that is currently acting as an access point and hosting a WebIOPi page locally.  Using Avahi, I am now able to access the page by navigating to "raspberrypi.local:8000", as opposed to the router's static IP address, 192.168.XX.XX:8000.

However, I would like to access the page just by simply navigating to "raspberrypi.local".  To do this, I believe I want to either forward all traffic from port 8000 (webiopi page) to port 80 or from port 80 to port 8000.  I've done some searching and haven't found a solution to this using only the RPi, but I think it is possible to do using iptables.

Any help is greatly appreciated.

Rudolf Mittelmann

unread,
Aug 21, 2016, 2:48:13 PM8/21/16
to WebIOPi
Am Freitag, 5. August 2016 15:33:43 UTC+2 schrieb Sean Murphy:
> I have a Raspberry Pi running Jessie that is currently acting as an access point and hosting a WebIOPi page locally.  Using Avahi, I am now able to access the page by navigating to "raspberrypi.local:8000", as opposed to the router's static IP address, 192.168.XX.XX:8000.
>
>
> However, I would like to access the page just by simply navigating to "raspberrypi.local".  To do this, I believe I want to either forward all traffic from port 8000 (webiopi page) to port 80 or from port 80 to port 8000.  I've done some searching and haven't found a solution to this using only the RPi, but I think it is possible to do using iptables.
>

when installing the webiopi demon, you are asked if you want to use the 8000 default port or which other port you want to use.
Message has been deleted

Barry914

unread,
Oct 6, 2016, 2:06:58 PM10/6/16
to WebIOPi
You can change the port by editing the configuration file:

sudo nano /etc/webiopi/config

search for this HTTP section and edit the port number:

[HTTP]
# HTTP Server configuration
enabled = true
port = 8001
Reply all
Reply to author
Forward
0 new messages