From 5916226f063ce7757fb1ca1b33c0924ddee48b08 Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Wed, 21 May 2014 22:40:47 +0200 Subject: [PATCH] use IPv4 to connect to ycmd --- python/ycm/youcompleteme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ycm/youcompleteme.py b/python/ycm/youcompleteme.py index 0e6ee066..4ddb76b5 100644 --- a/python/ycm/youcompleteme.py +++ b/python/ycm/youcompleteme.py @@ -123,7 +123,7 @@ class YouCompleteMe( object ): args.append('--keep_logfiles') self._server_popen = utils.SafePopen( args, stdout = PIPE, stderr = PIPE) - BaseRequest.server_location = 'http://localhost:' + str( server_port ) + BaseRequest.server_location = 'http://127.0.0.1:' + str( server_port ) BaseRequest.hmac_secret = hmac_secret self._NotifyUserIfServerCrashed()