標籤

2012年9月1日 星期六

開啟防火牆(使用 netsh 設定防火牆)


將下列文字存成bat檔,然後執行bat

@echo =========  SQL Server Ports  ===================
@echo Enabling SQLServer default instance port 1433
netsh firewall set portopening TCP 1433 "SQLServer"

@echo Enabling Dedicated Admin Connection port 1434
netsh firewall set portopening TCP 1434 "SQL Admin Connection"

@echo Enabling conventional SQL Server Service Broker port 4022
netsh firewall set portopening TCP 4022 "SQL Service Broker"

@echo Enabling Transact-SQL Debugger/RPC port 135
netsh firewall set portopening TCP 135 "SQL Debugger/RPC"

@echo =========  Analysis Services Ports  ==============
@echo Enabling SSAS Default Instance port 2383
netsh firewall set portopening TCP 2383 "Analysis Services"

@echo Enabling SQL Server Browser Service port 2382
netsh firewall set portopening TCP 2382 "SQL Browser"

@echo =========  Misc Applications  ==============
@echo Enabling HTTP port 80
netsh firewall set portopening TCP 80 "HTTP"

@echo Enabling SSL port 443
netsh firewall set portopening TCP 443 "SSL"

@echo Enabling port for SQL Server Browser Service's 'Browse' Button
netsh firewall set portopening UDP 1434 "SQL Browser"

@echo Allowing multicast broadcast response on UDP (Browser Service Enumerations OK)
netsh firewall set multicastbroadcastresponse ENABLE

沒有留言:

Win10新增ㄅ半注音輸入法

SETP 1 下載並新增ㄅ半的登錄檔 先到 Mega雲端空間 下載檔案。 SETP 2 點兩下開啟【微軟ㄅ半注音.reg】 SETP3 新增ㄅ半設定 這時候點右下角的「ㄅ」可以看到有兩個ㄅ的微軟注音,仔細看可以發現兩個ㄅ有些微的不同,上面那個ㄅ的圖案是完全正方形(新注音),而下面...