.net - Is there any way to use remote debugging for managed apps without disabling Host firewalls? -


i have tried setup remote debugging managed apps laptop (host)(win 8.1) oracle virtual box vm (client) (win xp). , i'm not able disable laptop’s firewall due company rules. have end error visual studio

unable connect microsoft visual studio remote debugging monitor named -------. visual studio remote debugger on target computer cannot connect computer. authentication failed. please see assistance.

note: remote debugger(visual studio 2008)

first there way use remote debugging managed apps without disabling host firewalls? if please me resolve issue.

finally have found way use remote debugging without disabling host firewalls.

host:

  1. you have allow msvsmon.exe application through inbound rules from

    control panel\all control panel items\windows firewall\advance settings\inbound rules\new rule

    program->program path -> allow connection -> check domain,private,public -> enter name-> finish.

  2. then have add remote debugger port 135 inbound rules

    control panel\all control panel items\windows firewall\advance settings\inbound rules\new rule

    port -> tcp -> port number 135 -> allow connection -> check domain,private,public -> enter name -> finish.

  3. visual studio -> attach process (managed apps)

client:

  1. if host , client in separate domain have run msvsmon.exe as

    runas /user:hostusername@domain /netonly "c:\program files\microsoft visual studio 9.0\common7\ide\remote debugger\x86\msvsmon.exe"

enter hostpassword.

  1. disable firewall settings.

    after doing these setting remote debugging managed apps have worked me.

configs: host: win 8.1 client : win xp domain : separate debugger : visual studio 2008


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -