mirror of
https://github.com/mempool/mempool.git
synced 2025-03-15 04:11:48 +01:00
Modify backend to only bind to 127.0.0.1
This commit is contained in:
parent
e27417dc46
commit
9df5024856
1 changed files with 6 additions and 2 deletions
|
@ -50,8 +50,12 @@ class MempoolSpace {
|
||||||
statistics.startStatistics();
|
statistics.startStatistics();
|
||||||
fiatConversion.startService();
|
fiatConversion.startService();
|
||||||
|
|
||||||
this.server.listen(8999, () => {
|
let opts = {
|
||||||
console.log(`Server started on port 8999 :)`);
|
host: "127.0.0.1",
|
||||||
|
port: 8999
|
||||||
|
};
|
||||||
|
this.server.listen(opts, () => {
|
||||||
|
console.log(`Server started on ${opts.host}:${opts.port})`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue