mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-28 03:12:34 +00:00
Do not bind HTTPServer to the "any" address (#235).
This commit is contained in:
1 parent
7d38b1a9b9
commit
a7da2423ce
4 files changed
+8
-4
No files matched your search
+4
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user