By default, LRR listens on all IPv4 Interfaces on port 3000. To change this, you have to specify a different network location when starting the app.
Building your network location string
The network location format accepted by LRR looks like this:
http(s)://*:(port)
All listen locations are valid.
For example, if you want to listen on port 5555 with SSL only, the string would look like:
https://*:5555?cert=/path/to/server.crt&key=/path/to/server.key
Once you have your string ready, you can assign it to the environment variable LRR_NETWORK. It'll be picked up automagically.
If you're using Docker, remember to mount your cert and keys to a path reachable by the container:
The arguments above will resolve within the container's filesystem!
Source Installs
export LRR_NETWORK=http://127.0.0.1:8000
npm start
> lanraragi@0.6.0 start /mnt/c/Users/tiki/Desktop/lrr
> perl ./script/launcher.pl -f ./script/lanraragi
ο½·οΎββββββ(οΎβοΎ)ββββββ!!!!!
[LANraragi] [info] LANraragi 0.6.0-BETA.2 (re-)started. (Debug Mode)
[...]
[Mojolicious] Listening at "http://127.0.0.1:8000"
Server available at http://127.0.0.1:8000