Create ChangingTheWebServerPort.md
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
## Changing the Web Server Port.
|
||||
|
||||
If your Pi already has a web server on port 80, you can reconfigure PiPedal to use a different port. After installing PiPedal, run the following command on your Raspberry Pi:
|
||||
|
||||
sudo pipedalconfig --install --port 81
|
||||
|
||||
You can optionally restrict the addresses on which PiPedal will respond by providing an explicit IP address. For example, to configure PiPedal to only accept connections from the local host:
|
||||
|
||||
sudo pipedalconfig --install --port 127.0.0.1:80
|
||||
|
||||
To configure PiPedal to only accept connections on the Wi-Fi host access point:
|
||||
|
||||
sudo pipedalconfig --install --port 172.22.1.1:80
|
||||
Reference in New Issue
Block a user