alexandrevicenzi / gistfy

Code once, share everywhere.
MIT License
65 stars 22 forks source link

Bind to public IP? #29

Closed k0nsl closed 8 years ago

k0nsl commented 8 years ago

What is the parameter for making gistfy bind to public IP, or one that I can specify manually? As far as I can recall, this used to be possible at one point. However, it's been some five months since I used it and I can't remember how I got it working. At the moment it will only bind to 127.0.0.1.

k0nsl commented 8 years ago

I found it. It was of course in ./src :D

alexandrevicenzi commented 8 years ago

@k0nsl I think there's no doc for this.

But you can aways run node src/gistfy.js --port=8080 --host='0.0.0.0' so it will bind any IP.