visual studio remote debugging - can't find the computer in the same domain
Asked Answered
D

4

17

I've installed Remote Tools for Visual Studio 2012 on a remote computer in the same domain.
I can ping and telnet connection to the defined port.

I'm trying to find the server when I open the "attached to process" dialog and the VS doesn't find it. (I tried entering both its IP and Name)

Any idea?

Disenchant answered 26/11, 2012 at 11:21 Comment(1)
Related post - How to setup remote debugging on a machine without Visual StudioCanuck
G
31

I faced same issue. I was pressing on "Find..." button and there searching for the computer, that always gave me "Found 0 connection". It looks like a VS2012 bug.

However when I've entered computer name (IP address also worked for me) and port in the "Qualifier" field and then pressed "Refresh" button far below - only then the connection was established and the list of processes was displayed.

The format of the text in the "Qualifier" field was COMPUTER-NAME:PORT (e.g. WIN2012-TEST:4016) as well as IP-ADDRESS:PORT (e.g. 192.168.1.1:4016), both worked. The port was the one that is displayed in the Tools -> Options of the Remote Debugging Monitor running on the target machine.

Gentilism answered 15/8, 2013 at 7:55 Comment(4)
Thank you! In addition, I would like to mention that the filter in the "Find..." window looks like local subnet only filter, i.e even if you write in this window IP-ADDRESS:PORT of the remote machine it will not try to find it.Denny
Instead of Find button, use refresh after typing IP addressSeasickness
This was the trick "Instead of Find button, use refresh after typing IP address"Tala
Thank you very much! I had to turn off the auto-refresh flag. As soon as I refreshed manually, I was able to enter the remote server user name and password then connect!Jackquelin
H
0

I encountered the same error message, but ended up finding that it was a different issue that the one OP encountered.

My problem was that remote debugging tools are not cross-version-compatible (at least to some extent). In my case, VS 2013 could not connect to the 2015 Remote Debugging tools. I admit, I kind of expected it to work, but I'm not terribly surprised. It wasn't until I explicitly typed in the machine and port that I received an actionable error message.

Huntley answered 2/11, 2015 at 23:21 Comment(0)
F
0

I had the same option, neither the Find button nor the Refresh button could help me (Visual Studio 2013 and remote debugging 2013), I even tried computer name and IP address with port. It worked out when I selected "Show processes from all users" and it loaded All processes.

I guess there's a delay with this tool and you might need to do some work around to fix this.

Freetown answered 8/3, 2017 at 14:0 Comment(0)
A
0

I'm late to the party here, but I was able to correct this by restarting the remote debugger service on the remote machine.

Averroes answered 23/4, 2024 at 13:58 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.