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

Unified Diff: pkg/docgen/lib/docgen.dart

Issue 179763002: Allow docgen --serve server to be accessed from IP addresses other than the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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: pkg/docgen/lib/docgen.dart
===================================================================
--- pkg/docgen/lib/docgen.dart (revision 33012)
+++ pkg/docgen/lib/docgen.dart (working copy)
@@ -765,7 +765,7 @@
/// so it shouldn't have any external dependencies.
static void _runServer() {
// Launch a server to serve out of the directory dartdoc-viewer/client/web.
- HttpServer.bind('localhost', 8080).then((HttpServer httpServer) {
+ HttpServer.bind(InternetAddress.ANY_IP_V6, 8080).then((HttpServer httpServer) {
print('Server launched. Navigate your browser to: '
'http://localhost:${httpServer.port}');
Emily Fortuna 2014/02/25 18:24:51 Update the printed address here?
httpServer.listen((HttpRequest request) {
« 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