Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omnisharp doesn't listen on localhost #179

Closed
afiodorov opened this issue Feb 11, 2015 · 1 comment
Closed

Omnisharp doesn't listen on localhost #179

afiodorov opened this issue Feb 11, 2015 · 1 comment

Comments

@afiodorov
Copy link

This looks like local misconfiguration, but I can't seem to force mono to listen on localhost instead of remote network:

Stop iptables so that they don't interfere:

sudo systemctl stop iptables.service

Start omnisharp:

/usr/bin/mono /home/tom/.vim/bundle/omnisharp-vim/server/OmniSharp/bin/Debug/OmniSharp.exe -p 2000 -s /home/tom/csharp/playground.sln -v Verbose

Check if I can connect to it:

telnet localhost 2000
Trying ::1...
Connection failed: Connection refused
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

See if port is open

lsof -i TCP| fgrep LISTEN | grep mono
mono      27675  tom    4u  IPv4 6274518      0t0  TCP BLAHBLAH.members.linode.com:cisco-sccp (LISTEN)

Try remote host:

telnet BLAHBLAH.members.linode.com 2000                                                        
Trying /*my remote ip here*/...
Connected to BLAHBLAH.members.linode.com.
Escape character is '^]'.
^]
@afiodorov
Copy link
Author

was meant to post in omnisharp-server, see OmniSharp/omnisharp-server#180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant