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

Unified Diff: pkg/analysis_server/lib/src/server/http_server.dart

Issue 2930003002: Bind the diagnostics server on ipv4 ports. (Closed)
Patch Set: Created 3 years, 6 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 | pkg/pkg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/server/http_server.dart
diff --git a/pkg/analysis_server/lib/src/server/http_server.dart b/pkg/analysis_server/lib/src/server/http_server.dart
index 50da1549ea1ae6eaa19a72fba35f568063ae9eea..8f144112c75c74bb2bf0fb28b2a71982999c56d5 100644
--- a/pkg/analysis_server/lib/src/server/http_server.dart
+++ b/pkg/analysis_server/lib/src/server/http_server.dart
@@ -79,7 +79,7 @@ class HttpAnalysisServer {
try {
_serverFuture =
- HttpServer.bind(InternetAddress.LOOPBACK_IP_V6, initialPort ?? 0);
+ HttpServer.bind(InternetAddress.LOOPBACK_IP_V4, initialPort ?? 0);
HttpServer server = await _serverFuture;
_handleServer(server);
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698