mirror of
https://github.com/mempool/mempool.git
synced 2025-03-13 11:36:07 +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();
|
||||
fiatConversion.startService();
|
||||
|
||||
this.server.listen(8999, () => {
|
||||
console.log(`Server started on port 8999 :)`);
|
||||
let opts = {
|
||||
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