scnr / installer

Installation script for Codename SCNR.
https://ecsypno.com/pages/codename-scnr
26 stars 3 forks source link

change the listening ip #20

Closed mdelnegro closed 1 year ago

mdelnegro commented 1 year ago

I need to change the listening ip from 0.0.0.0:9292 to another ip but I can't find where to change the ip with the listening port

Zapotek commented 1 year ago

Hello,

You want the -o flag:

$ ./bin/scnr_pro -o localhost
Puma starting in single mode...
* Puma version: 5.6.2 (ruby 2.7.7-p221) ("Birdie's Version")
*  Min threads: 0
*  Max threads: 5
*  Environment: production
*          PID: 1381542
* Listening on http://127.0.0.1:9292
* Listening on http://[::1]:9292
Use Ctrl-C to stop

Cheers