blockmason / lndr

Lending on the Blockchain
https://lndr.io/
9 stars 6 forks source link

πŸš€ Configurable IP address and TCP port #164

Closed canterberry closed 6 years ago

canterberry commented 6 years ago

Delivers #163.

This PR enables the LNDR app server's listening address and port to be configurable.

Previously, the default was for the app to listen on any available IPv4 address and TCP port 80. This PR changes the default to listen on IP 127.0.0.1 and TCP port 7402. The bind-address and bind-port configuration values (in lndr-backend/data/lndr-server.config) determine on which IP and port the service listens.

canterberry commented 6 years ago

Considering this PR contains a collaborative effort between myself and @aupiff and I approve his changes which are more recent than mine, I'm going to call this πŸ‘and merge. It also happens to be blocking some work I'm doing on deployment automation.