I wanted to run a http (port 80) and https (port 443) reverse proxy on my router, and luci running on port 80 got on the way. So I decided to move luci to run on a different port. Here's what I did:

  • Edit /etc/config/uhttpd, and changing the following lines:
    • from:
      • config uhttpd 'main'
        • list listen_http '0.0.0.0:80'
        • list listen_http '[::]:80'
    • to
      • config uhttpd 'main'
        • list listen_http '0.0.0.0:81'
        • list listen_http '[::]:81'
  • Reboot.

You should now be able to access luci via http://192.168.1.1:81/.

You should also probably check to make sure luci isn't somehow visible on port 81 of your router's public interface. You can do this by switching off wifi on a smart mobile phone, and getting on 3G/4G and then browsing to http://your.routers.public.ip:81/. You should get an error message of some sort.