OmniSharp / omnisharp-vim

Vim omnicompletion (intellisense) and more for C#
http://www.omnisharp.net
MIT License
1.72k stars 168 forks source link

Could not connect to OmniSharp server #674

Closed Meursau1T closed 3 years ago

Meursau1T commented 3 years ago

The extension could not connect to OmniSharp server. Running ps, I found that OmniSharp process is running. The result of netstat show that the process is listening the port.

The following is the output of OmniSharpOpenLog: log.txt

This is the output of ps:

PS >ps | ? Name -Match 'omni'
 NPM(K)    PM(M)      WS(M)     CPU(s)      Id  SI ProcessName
 ------    -----      -----     ------      --  -- -----------
    103    99.07     132.22       4.86   43732   2 OmniSharp

This is the output of netstat:

PS>netstat -ano | sls 58516

  TCP    127.0.0.1:58516       0.0.0.0:0              LISTENING       43732
  TCP    [::1]:58516           [::]:0                 LISTENING       43732

The only line in my .vimrc about OmniSharp is:

let g:OmniSharp_server_install = 'C:/msys64/home/MeursaulT/omnisharp/server'