mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
Do not bind HTTPServer to the "any" address (#235).
This commit is contained in:
parent
7d38b1a9b9
commit
a7da2423ce
4 changed files with 8 additions and 4 deletions
|
@ -106,7 +106,10 @@ namespace i2p
|
|||
StartLog (""); // write to stdout
|
||||
}
|
||||
|
||||
d.httpServer = new i2p::util::HTTPServer(i2p::util::config::GetArg("-httpport", 7070));
|
||||
d.httpServer = new i2p::util::HTTPServer(
|
||||
i2p::util::config::GetArg("-httpaddress", "127.0.0.1"),
|
||||
i2p::util::config::GetArg("-httpport", 7070)
|
||||
);
|
||||
d.httpServer->Start();
|
||||
LogPrint("HTTP Server started");
|
||||
i2p::data::netdb.Start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue