use IPv4 to connect to ycmd

This commit is contained in:
Jan Vcelak 2014-05-21 22:40:47 +02:00
parent cf65ba21d6
commit 5916226f06

View File

@ -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()