zoukankan      html  css  js  c++  java
  • VS调试在Win7(vista系列)操作系统下 HttpListener拒绝访问解决办法

    一. VS调试在Win7(vista系列)操作系统下 HttpListener无法绑定多个 指定IP、端口问题

      

      来自:http://www.cnblogs.com/ryhan/p/4195693.html 

      现象:System.Net.HttpListenerException (0x80004005): 拒绝访问。

      原因:VS IDE 权限不够(生成的产物权限也会不够),提升UAC权限即可解决

      步骤:

        1.选中对应Project,右键添加->新增应用程序清单文件 app.manifest

        

        2.将配置项 requestedExecutionLevel 的级别 asInvoker 改为 requireAdministrator

        

        3.启动调试,会使用超级权限重启IDE

        

        4.重启后,服务启动成功...    

             

        5.编译的exe文件会出现盾牌标识

        

  • 相关阅读:
    小工具
    git
    git如何做个人构建
    菜鸟教程
    Xftp和Xshell
    IDEA
    webStorm
    HBuilder
    chrome浏览器
    Vue-Server-Renderer
  • 原文地址:https://www.cnblogs.com/FLWL/p/5099578.html
Copyright © 2011-2022 走看看