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

Unified Diff: dart/samples/dartiverse_search/bin/server.dart

Issue 72383004: Version 1.0.0.7 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 | « dart/runtime/bin/net/zlib.gyp ('k') | dart/samples/dartiverse_search/readme.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/samples/dartiverse_search/bin/server.dart
===================================================================
--- dart/samples/dartiverse_search/bin/server.dart (revision 30333)
+++ dart/samples/dartiverse_search/bin/server.dart (working copy)
@@ -95,9 +95,9 @@
int port = 9223; // TODO use args from command line to set this
- HttpServer.bind(InternetAddress.ANY_IP_V4, port).then((server) {
+ HttpServer.bind(InternetAddress.LOOPBACK_IP_V4, port).then((server) {
log.info("Search server is running on "
- "'http://${Platform.localHostname}:$port/'");
+ "'http://${server.address.address}:$port/'");
var router = new Router(server);
// The client will connect using a WebSocket. Upgrade requests to '/ws' and
« no previous file with comments | « dart/runtime/bin/net/zlib.gyp ('k') | dart/samples/dartiverse_search/readme.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698