Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: sky/tools/debugger/debugger.cc

Issue 945663003: Serve skydb on localhost instead of 0.0.0.0. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/debugger/debugger.cc
diff --git a/sky/tools/debugger/debugger.cc b/sky/tools/debugger/debugger.cc
index 8bc5f63cecdcfcd8cd32277dc09abae868900f59..ed17436a23b7ba1646d7e81dfeedaab7e91cc501 100644
--- a/sky/tools/debugger/debugger.cc
+++ b/sky/tools/debugger/debugger.cc
@@ -51,10 +51,10 @@ class SkyDebugger : public mojo::ApplicationDelegate,
local_address->family = mojo::NET_ADDRESS_FAMILY_IPV4;
local_address->ipv4 = mojo::NetAddressIPv4::New();
local_address->ipv4->addr.resize(4);
- local_address->ipv4->addr[0] = 0;
+ local_address->ipv4->addr[0] = 127;
local_address->ipv4->addr[1] = 0;
local_address->ipv4->addr[2] = 0;
- local_address->ipv4->addr[3] = 0;
+ local_address->ipv4->addr[3] = 1;
local_address->ipv4->port = command_port_;
http_server_factory->CreateHttpServer(GetProxy(&http_server_).Pass(),
local_address.Pass());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698