zoukankan      html  css  js  c++  java
  • Sql Server 开放4399端口命令行

    netsh advfirewall firewall add rule name="Open Port 80" dir=in action=allow protocol=TCP localport=80  
      
    @echo =========  SQL Server Ports  ===================  
    @echo Enabling SQLServer default instance port 1433  
    netsh advfirewall firewall add rule name="SQL Server" dir=in action=allow protocol=TCP localport=1433  
    @echo Enabling Dedicated Admin Connection port 1434  
    netsh advfirewall firewall add rule name="SQL Admin Connection" dir=in action=allow protocol=TCP localport=1434  
    @echo Enabling Conventional SQL Server Service Broker port 4022  
    netsh advfirewall firewall add rule name="SQL Service Broker" dir=in action=allow protocol=TCP localport=4022  
    @echo Enabling Transact SQL/RPC port 135  
    netsh advfirewall firewall add rule name="SQL Debugger/RPC" dir=in action=allow protocol=TCP localport=135  
    @echo =========  Analysis Services Ports  ==============  
    @echo Enabling SSAS Default Instance port 2383  
    netsh advfirewall firewall add rule name="Analysis Services" dir=in action=allow protocol=TCP localport=2383  
    @echo Enabling SQL Server Browser Service port 2382  
    netsh advfirewall firewall add rule name="SQL Browser" dir=in action=allow protocol=TCP localport=2382  
      
    @echo =========  Misc Applications  ==============  
    @echo Enabling HTTP port 80  
    netsh advfirewall firewall add rule name="HTTP" dir=in action=allow protocol=TCP localport=80  
    @echo Enabling SSL port 443  
    netsh advfirewall firewall add rule name="SSL" dir=in action=allow protocol=TCP localport=443  
    @echo Enabling port for SQL Server Browser Service's 'Browse' Button  
    netsh advfirewall firewall add rule name="SQL Browser" dir=in action=allow protocol=UDP localport=1434  
    @echo Allowing multicast broadcast response on UDP (Browser Service Enumerations OK)  
    netsh firewall set multicastbroadcastresponse ENABLE  
    

      

  • 相关阅读:
    Spring+mybatis+PageHelper
    查看mysql执行时间
    Spring AMQP
    HMAC的JAVA实现和应用
    StringRedisTemplate常用操作
    iOS linker command failed with exit code 1 (use -v to see invocation)多种解决方案汇总
    Swift 导航栏设置图片点击事件,图片蓝色的解决方案
    iOS 设备的CPU架构以及查看framework支持架构
    iOS获取用户设备崩溃日志并分析
    Swift3 URL编码、解码用法addingPercentEncoding
  • 原文地址:https://www.cnblogs.com/yangda/p/7443968.html
Copyright © 2011-2022 走看看