You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.
.env file needs an entry to supply the binding interface for 'listen'.
It currently forces to listen on all interfaces exposing port 3000 globally without a firewall blocking it.
Also, you should check to make sure APP_PORT is an integer or else it starts out as listening on port NaN and the process stays alive.
Steps to Reproduce
Install as normal
node app
Additional info
Postleaf version: 1.0.0-beta.1
Node version: 8.9.4
Affected browsers:
Operating system: Ubuntu 16.04
The text was updated successfully, but these errors were encountered:
Ok. I'll be happy to accept a PR that looks for the APP_HOST environmental variable. If present, it binds to that host. Otherwise, the current behavior stays the same.
I'm suggesting APP_HOST in lieu of APP_BIND because its also the argument name for server.listen()in the docs and may be more clear to users.
Summary
.env file needs an entry to supply the binding interface for 'listen'.
It currently forces to listen on all interfaces exposing port 3000 globally without a firewall blocking it.
Also, you should check to make sure APP_PORT is an integer or else it starts out as listening on port NaN and the process stays alive.
Steps to Reproduce
Additional info
The text was updated successfully, but these errors were encountered: